.urgent-notification {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 1rem;
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.4s ease-out
}
.urgent-notification.type-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%)
}
.urgent-notification.type-error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%)
}
.urgent-notification.type-info {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%)
}
.urgent-notification.type-success {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%)
}
.urgent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white
}
.urgent-icon {
    font-size: 1.5rem;
    flex-shrink: 0
}
.urgent-text {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5
}
.urgent-text a {
    color: white;
    text-decoration: underline;
    font-weight: 600
}
.urgent-text a:hover {
    opacity: 0.8
}
.urgent-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0
}
.urgent-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1)
}
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.admin-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    min-height: 700px;
    overflow-y: auto
}
.admin-content h2 {
    margin: 0 0 1.5rem 0;
    color: #333;
    font-size: 1.5rem
}
.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem
}
.admin-form label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.25rem
}
.admin-form textarea, .admin-form input, .admin-form select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s
}
.admin-form textarea:focus, .admin-form input:focus, .admin-form select:focus {
    outline: none;
    border-color: #960018
}
.char-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #777;
    margin-top: -0.5rem
}
.admin-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem
}
.admin-actions button {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s
}
.btn-save {
    background: #4caf50;
    color: white
}
.btn-save:hover {
    background: #388e3c;
    transform: translatey(-2px)
}
.btn-clear {
    background: #f44336;
    color: white
}
.btn-clear:hover {
    background: #d32f2f;
    transform: translatey(-2px)
}
.btn-preview {
    background: #2196f3;
    color: white
}
.btn-preview:hover {
    background: #1976d2;
    transform: translatey(-2px)
}
.admin-close {
    margin-top: 1.5rem;
    width: 100%;
    padding: 0.75rem;
    background: #999;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s
}
.admin-close:hover {
    background: #777
}
.admin-trigger-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem;
    background: #960018;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(150, 0, 24, 0.4);
    transition: all 0.3s;
    z-index: 9999
}
.admin-trigger-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(150, 0, 24, 0.6)
}
@media (max-width: 768px) {
    .urgent-notification {
        padding: 0.75rem
    }
    .urgent-content {
        gap: 0.75rem
    }
    .urgent-icon {
        font-size: 1.25rem
    }
    .urgent-text {
        font-size: 0.9rem
    }
    .admin-panel {
        padding: 1.5rem;
        width: 95%
    }
    .admin-actions {
        flex-direction: column
    }
}
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center
}
.admin-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px)
}
.admin-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1
}
.admin-modal-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #960008 0%, #740012 100%);
    color: white;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center
}
.admin-modal-header h3 {
    margin: 0;
    font-size: 1.25rem
}
.admin-modal-header button {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px
}
.admin-modal-body {
    padding: 2rem 1.5rem
}
.form-group {
    margin-bottom: 1rem
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333
}
.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem
}
.form-group input:focus {
    outline: none;
    border-color: #960018
}
.admin-modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 12px 12px
}
.admin-btn-primary, .admin-btn-secondary {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer
}
.admin-btn-primary {
    background: #960018;
    color: white
}
.admin-btn-primary:hover {
    background: #740012
}
.admin-btn-secondary {
    background: white;
    border: 2px solid #ddd;
    color: #666
}
.admin-btn-secondary:hover {
    border-color: #960018;
    color: #960018
}
.admin-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 2px solid var(--primary-red);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none
}
.notification-type-radios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0 1.5rem 0
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative
}
.radio-option:hover {
    background: #fff;
    border-color: #960018;
    transform: translatey(-2px);
    box-shadow: 0 4px 12px rgba(150, 0, 24, 0.15)
}
.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer
}
.radio-icon {
    font-size: 1.5rem;
    flex-shrink: 0
}
.radio-label {
    flex: 1;
    font-weight: 600;
    color: #555;
    font-size: 0.9rem
}
.radio-option input[type="radio"]:checked + .radio-icon {
    animation: iconBounce 0.3s ease
}
@keyframes iconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}
@media (max-width: 768px) {
    .notification-type-radios {
        grid-template-columns: 1fr;
        gap: 0.5rem
    }
    .radio-option {
        padding: 0.75rem
    }
    .radio-icon {
        font-size: 1.2rem
    }
    .radio-label {
        font-size: 0.85rem
    }
}