﻿:root {
    --bordo: #760e26;
    --bordo-weak: rgba(118,14,38,0.12);
}

body {
    background: #f8f9fa;
    font-family: 'Segoe UI',system-ui,-apple-system,Arial,sans-serif;
}

h2 {
    color: var(--bordo);
    font-weight: 800;
    letter-spacing: .3px;
}

.view-toggle .btn {
    border: 1px solid var(--bordo);
    color: var(--bordo);
    background: #fff;
}

    .view-toggle .btn.active,
    .view-toggle .btn:hover {
        background: var(--bordo);
        color: #fff;
    }

.btn:focus, .btn:active, .btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.alumni-card {
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 1px 1px rgba(230,120,120,0.15);
    transition: transform .25s ease, box-shadow .25s ease;
    padding: 20px;
    background: #fff;
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.alumni-card button {
    background-color: #f7e4e8;
    border: none;
}

    .alumni-card button:hover {
        background-color: #760e26;
    }

    .alumni-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px #808080;
    }

    .alumni-card img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 16px;
    }

    .alumni-card h5 {
        margin-top: 14px;
        font-weight: 700;
        color: var(--bordo);
    }

.card-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

    .card-actions .btn {
        padding: .4rem .75rem;
        border-radius: 999px;
        font-weight: 600;
    }

#alumniGrid {
    position: relative;
}

@media(max-width: 1200px){
    .card-actions {
        flex-wrap: wrap;
    }

    .alumni-card {
        width: 280px;
    }

    .alumni-card img { 
        width: 200px;
        height: 200px;
    }
}

@media(min-width:992px) {
    #alumniGrid::before, #alumniGrid::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, rgba(118,14,38,0.1), rgba(118,14,38,0.35), rgba(118,14,38,0.1));
    }

    #alumniGrid::before {
        left: 33.33%;
    }

    #alumniGrid::after {
        left: 66.66%;
    }
}

.alumni-table {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(118,14,38,.15);
}

    .alumni-table thead {
        background: var(--bordo);
        color: #fff;
        text-transform: uppercase;
    }

    .alumni-table th, .alumni-table td {
        vertical-align: middle;
        padding: 14px 18px;
    }

    .alumni-table img {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 3px 8px rgba(0,0,0,.15);
    }

.table-actions .btn {
    padding: .35rem .7rem;
    border-radius: 999px;
    font-weight: 600;
}

.pagination .page-link {
    color: var(--bordo);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: background .25s, box-shadow .25s;
    border: 1px solid var(--bordo);
}

    .pagination .page-link:hover {
        background: var(--bordo);
        color: #fff;
    }

.pagination .active .page-link {
    background: var(--bordo);
    border-color: var(--bordo);
    color: #fff;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 .25rem rgba(118,14,38,.35);
    outline: none;
}

.modal-body-custom {
    gap: 20px;
}

    .modal-body-custom img {
        width: 40%;
        border-radius: 12px;
        object-fit: cover;
    }

    .modal-body-custom h3 {
        color: var(--bordo);
        margin: 0;
    }

    .modal-body-custom p {
        margin: .35rem 0;
        font-size: 1.05rem;
        color: #333;
    }

.modal-footer .btn {
    border: 1px solid var(--bordo);
    color: var(--bordo);
    background: #fff;
}

    .modal-footer .btn:hover {
        background: var(--bordo);
        color: #fff;
    }

.form-control:focus {
    border-color: var(--bordo);
    box-shadow: 0 0 0 .2rem var(--bordo-weak);
}

#delete-btn {
    margin-top: 0.4em;
}

.toast.align-items-center {
    border-color: var(--bordo);
}

.toast .toast-body {
    font-weight: 600;
    color: #222;
}

.addbtn {
    background: var(--bordo);
    color: white;
}

    .addbtn.active,
    .addbtn:hover {
        background: var(--bordo);
        color: #fff;
    }

    .addbtn:focus, .addbtn:active, .addbtn:focus-visible {
        outline: none;
        box-shadow: none;
    }