﻿:root {
    --primary: #3498db;
    --primary-dark: #2c3e50;
    --secondary: #9b59b6;
    --danger: #e74c3c;
    --warning: #f39c12;
    --success: #27ae60;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #7f8c8d;
    --light-gray: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*
body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
    line-height: 1.6;
}
*/

/*
.container {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
}
*/


header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
}

    header h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    header p {
        font-size: 1.1rem;
        max-width: 600px;
        margin: 0 auto;
        opacity: 0.9;
    }

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

.card-header {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .card-header i {
        font-size: 1.5rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
        font-weight: 600;
    }

.card-body {
    padding: 25px;
}

.shift-controls {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.shift-group {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.shift-option {
    flex: 1;
    min-width: 250px;
}

.shift-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    display: flex;
    align-items: center;
}

    .shift-label i {
        color: var(--primary);
    }

.shift-select {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}

    .shift-select:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

.shift-detail {
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    background: var(--light-gray);
    border-left: 4px solid var(--primary);
    animation: fadeIn 0.4s ease-out;
}

.shift-detail-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

    .shift-detail-header h3 {
        font-size: 1.3rem;
        color: var(--dark);
    }

    .shift-detail-header .shift-color {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: inline-block;
    }

.shift-info {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px 15px;
    font-size: 1.05rem;
}

.info-label {
    font-weight: 500;
    color: var(--gray);
}

.info-value {
    font-weight: 500;
    color: var(--dark);
}

.remarks-section {
    margin-top: 20px;
}

.remarks-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.remarks-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    resize: vertical;
    transition: all 0.3s ease;
}

    .remarks-textarea:focus {
        border-color: var(--primary);
        outline: none;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: white;
    flex: 1;
}

.btn-secondary {
    background: var(--light);
    color: var(--dark);
    flex: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.btn:active {
    transform: translateY(1px);
}

.btn i {
    font-size: 1.1rem;
}

.status-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .info-section h2 {
        margin-bottom: 15px;
        color: var(--primary-dark);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .info-section p {
        margin-bottom: 15px;
    }

    .info-section ul {
        margin-left: 25px;
        margin-bottom: 20px;
    }

    .info-section li {
        margin-bottom: 8px;
    }

.loading-container {
    text-align: center;
    padding: 40px;
    color: white;
}

.loading-spinner {
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 5px solid white;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .shift-group {
        flex-direction: column;
    }

    .shift-option {
        min-width: 100%;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
    }
}
