:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

* {
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.form-control, .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-control:focus, .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control:hover, .form-select:hover {
    border-color: #764ba2;
}

.form-label {
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}


.request-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.request-item:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.1);
}

.request-item.new {
    border-left: 4px solid #48bb78;
    background: linear-gradient(to right, rgba(72, 187, 120, 0.05), transparent);
}

.request-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.request-item:hover::before {
    opacity: 1;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.request-department {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.request-date {
    color: #718096;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.request-author {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.request-organization {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.request-text {
    color: #4a5568;
    line-height: 1.6;
    padding: 12px;
    background: #f7fafc;
    border-radius: 12px;
    font-size: 0.95rem;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.request-item {
    animation: slideIn 0.3s ease forwards;
}

.nav-tabs .nav-link {
    border: none;
    color: #718096;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 12px 12px 0 0;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.nav-tabs .nav-link.active {
    color: #667eea;
    background: transparent;
    border-bottom: 3px solid #667eea;
}

.btn-primary {
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

#message {
    animation: slideIn 0.3s ease;
}

.alert {
    border-radius: 12px;
    border: none;
    padding: 16px 20px;
}

#requestsCount {
    padding: 6px 12px;
    font-size: 0.85rem;
}