:root { /* UB Brand Colors */
    --bp: #e4e4e4; /* Baird Point */
    --cb: #990000; /* Capen Brick */
    --gg: #ebec00; /* Greiner Green */
    --la: #e56a54; /* Letchworth Autumn */
    --og: #6da04b; /* Olmsted Green */
    --tg: #666666; /* Townsend Gray */
    --veb: #2f9fd0; /* Victor E. Blue */
    --ub: #005bbb; /* UB Blue */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    /*align-items: center;*/
    /*min-height: 100vh;*/
    margin-top: 2%;
}

#skiplinks a {
    position: absolute;
    top: 0px;
    left: -1000px;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    /*margin: 0 auto;*/
    margin: 0 2%;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

header {
    background-color: var(--ub);
    color: white;
    padding: 10px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

.menu-link {
    color: var(--tg);
    font-size: 0.875rem;
    padding-right: 10px;
    text-align: right;
}

.filter {
    float: right;
}

.main-content {
    padding: 20px;
    /*text-align: center;*/
}

.main-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.dashbd {
    color: var(--veb);
}

.doc {
    color: var(--og);
}

.err {
    color: var(--la);
}

.main-content p {
    font-size: 1rem;
    color: #555;
}

.help {
    margin-top: 1em;
}

.perm {
    font-size: 0.9375rem;
    margin-left: 2rem;
}

/* Simple form styles */
form {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    margin-top: 20px;
}

input[type="text"] {
    padding: 10px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    padding: 10px 20px;
    background-color: #666;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 10rem;
}

button:hover {
    background-color: #666;
}

hr {
    margin-top: 2%;
    margin-bottom: 2%;
}

.urlList {
    font-size: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
}

.item {
    /*flex: 1 1 calc(33.33% - 20px); /* Each item takes up 1/3 of the row minus the gap */
    box-sizing: border-box;
    padding: 10px;
    background-color: #e4e4e4;
    /*text-align: center;*/
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 100%;
    font-size: 0.875rem;
}

.admin {
    background-color: #ebec00;
}

footer {
    background-color: var(--ub);
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 30px;
    font-size: 0.9rem;
}

footer a {
    color: #fff;
}

.external {
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 1em;
    padding-right: 1em;
}

.external.link {
    background-image: url(/img/urlexternallink.svg);
    padding-right: 1.25em;
}

.external.copy {
    background-image: url(/img/urlcopy.png);
    cursor: pointer;
}

.external.edit {
    background-image: url(/img/urledit.svg);
    cursor: pointer;
    text-decoration: none;
}

.external.delete {
    background-image: url(/img/urltrashcan.svg);
    cursor: pointer;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }

    .main-content h2 {
        font-size: 1.25rem;
    }

    .main-content p {
        font-size: 0.95rem;
    }

    input[type="text"] {
        max-width: 100%;
    }

    button {
        /*width: 100%;*/
        width: 10rem;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.2rem;
    }

    .main-content h2 {
        font-size: 1.1rem;
    }

    .main-content p {
        font-size: 0.9rem;
    }

    input[type="text"] {
        max-width: 100%;
    }

    button {
        /*width: 100%;*/
        width: 10rem;
    }
}