﻿.request .container {
    max-width: 850px;
    margin: 40px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(108,0,161,0.12);
    padding: 30px;
}

.request .header {
    text-align: center;
    background: linear-gradient(135deg, #9c5fc4, #6c00a1);
    color: #fff;
    padding: 18px;
    border-radius: 15px;
    margin-bottom: 25px;
}

    .request .header h2 {
        margin: 0;
        font-size: 1.4rem;
    }

.request h3 {
    color: #6c00a1;
    border-bottom: 2px solid #decdf2;
    padding-bottom: 6px;
    margin-top: 25px;
}

.request .info-box {
    background-color: #f7f4fb;
    border: 1px solid #cbb5df;
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: 15px;
    line-height: 2;
}

    .request .info-box p {
        margin: 5px 0;
        text-align: right;
    }


.request .info-section {
    background-color: #f7f4fb;
    border: 1px solid #cbb5df;
    border-radius: 12px;
    padding: 15px 20px;
    line-height: 2;
    margin-top: 15px;
}

    .request .info-section p {
        margin: 6px 0;
    }

.request .doc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 6px 0;
}

.request .download-btn {
    background: linear-gradient(90deg, #6c00a1, #9b4db8);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
}

    .request .download-btn:hover {
        background: linear-gradient(90deg, #5b0088, #872bb0);
        transform: translateY(-2px);
    }

.request textarea {
    width: 100%;
    min-height: 90px;
    border-radius: 10px;
    border: 1px solid #cbb5df;
    margin-top: 10px;
    padding: 10px;
    font-family: 'Sahel', sans-serif;
    font-size: 0.95rem;
    box-sizing: border-box;
}

    .request textarea:focus {
        border-color: #7a18b5;
        outline: none;
        box-shadow: 0 0 6px rgba(108,0,161,0.25);
    }

.request .btn-container {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.request button {
    flex: 1;
    margin: 0 6px;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 12px rgba(108,0,161,0.2);
}

.request .btn-approve {
    background: linear-gradient(90deg, #6c00a1, #9b4db8);
}

.request .btn-edit {
    background: linear-gradient(90deg, #b67c00, #ed9d2f);
}

.request button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(108,0,161,0.3);
}

.request .btn {
    display: block;
    width: 100%;
    margin-top: 30px;
    border: none;
    background: linear-gradient(90deg, #6c00a1, #9b4db8);
    color: #fff;
    font-size: 1.05rem;
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(108,0,161,0.2);
    transition: all 0.3s;
}

.request .btn-reject {
    background: linear-gradient(90deg, #b42222, #d34444);
}
.request .btn-print {
    background: linear-gradient(90deg, #a7a7a7, #e2e2e2);
    color: #222;
    border: 1px solid #bbb;
}



.request .user-name {
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 0.95rem;
    background-color: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 10px;
}

.request .actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.request .search-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .request .search-box input {
        padding: 9px 13px;
        border: 1px solid #ccc;
        border-radius: 10px;
        font-size: 0.95rem;
        width: 220px;
        transition: 0.3s;
    }

        .request .search-box input:focus {
            border-color: #7a18b5;
            outline: none;
            box-shadow: 0 0 5px rgba(108, 0, 161, 0.25);
        }

    .request .search-box button {
        background: linear-gradient(90deg, #6c00a1, #9b4db8);
        color: white;
        border: none;
        border-radius: 10px;
        padding: 9px 15px;
        font-size: 0.9rem;
        cursor: pointer;
        transition: 0.3s;
    }

        .request .search-box button:hover {
            background: linear-gradient(90deg, #8a36b5, #b46cd8);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(108,0,161,0.25);
        }

.request .new-request a {
    background: linear-gradient(90deg, #6c00a1, #9b4db8);
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(108,0,161,0.25);
    font-size: 0.95rem;
    transition: 0.3s;
}

    .request .new-request a:hover {
        box-shadow: 0 6px 15px rgba(108, 0, 161, 0.35);
        transform: translateY(-3px);
    }

.request table {
    width: 100%;
    border-collapse: collapse;
}

.request th, td {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
}

.request th {
    background: linear-gradient(135deg, #d8c5eb, #e8e2f5);
    color: #3a0048;
    font-weight: 600;
}

.request tr:nth-child(even) {
    background-color: #f9f6fc;
}

.request .btn-view {
    background: linear-gradient(90deg, #6c00a1, #9b4db8);
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
}

    .request .btn-view:hover {
        background: linear-gradient(90deg, #8a36b5, #b46cd8);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(108,0,161,0.2);
    }

@media (max-width: 700px) {
    .request .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .request .search-box input {
        width: 100%;
    }

    .request table, thead, tbody, th, td, tr {
        display: block;
    }

    .request th {
        display: none;
    }

    .request tr {
        margin-bottom: 10px;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(108, 0, 161, 0.1);
        padding: 10px;
    }

    .request td {
        text-align: right;
        border: none;
    }

        .request td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #590069;
            display: block;
            margin-bottom: 4px;
        }

    .request .btn-view {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .request .btn-container {
        flex-direction: column;
    }

    .request button {
        margin: 6px 0;
    }
}