/* ===== Gift Card Winner Styles ===== */
.gift-card-winner-container {
    padding: 60px 20px;
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

.celebration-background {
    animation: celebration-bg-pulse 2s ease-in-out infinite alternate;
}

@keyframes celebration-bg-pulse {
    0% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.1);
    }
    100% {
        filter: brightness(1);
    }
}

/* Confetti Canvas - Full Page Coverage */
.confetti-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    background: transparent;
    display: block;
}

/* Fireworks - Full Page Coverage */
.fireworks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    background: transparent;
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 30px #FFD700,
        0 0 40px #FFD700,
        0 0 50px #FFD700,
        0 0 60px #FFD700,
        0 0 70px #FFD700;
    animation: firework-explosion 2s ease-out infinite;
}

.firework:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.firework:nth-child(2) {
    top: 30%;
    left: 80%;
    animation-delay: 0.4s;
}

.firework:nth-child(3) {
    top: 60%;
    left: 30%;
    animation-delay: 0.8s;
}

.firework:nth-child(4) {
    top: 70%;
    left: 70%;
    animation-delay: 1.2s;
}

.firework:nth-child(5) {
    top: 40%;
    left: 50%;
    animation-delay: 1.6s;
}

@keyframes firework-explosion {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(8);
        opacity: 0;
    }
}

.gift-card-winner {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    padding: 40px;
    position: relative;
    overflow: hidden;
    direction: rtl;
    z-index: 20;
    animation: gift-card-entrance 1s ease-out;
}

@keyframes gift-card-entrance {
    0% {
        transform: scale(0.5) rotateY(180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.1) rotateY(0deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

.celebration-shake {
    animation: gift-card-entrance 1s ease-out, celebration-shake 0.5s ease-in-out 1s 3;
}

@keyframes celebration-shake {
    0%, 100% {
        transform: translateX(0) scale(1);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px) scale(1.02);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px) scale(1.02);
    }
}

.celebration-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    font-size: 3rem;
    margin-bottom: 20px;
}

.celebration-bounce {
    animation: celebration-bounce 1s ease-in-out infinite;
}

@keyframes celebration-bounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.2);
    }
}

.celebration-rotate {
    animation: celebration-rotate 3s ease-in-out infinite;
}

@keyframes celebration-rotate {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-15deg) scale(1.3);
    }
    50% {
        transform: rotate(15deg) scale(1.3);
    }
    75% {
        transform: rotate(-10deg) scale(1.3);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

.trophy {
    font-size: 4rem;
    color: #FFD700;
    filter: drop-shadow(0 0 10px #FFD700);
}

.confetti {
    color: #f1a936;
    filter: drop-shadow(0 0 8px #f1a936);
}

.winner-title {
    text-align: center;
    color: #790b05;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    direction: rtl;
}

.celebration-glow {
    animation: celebration-glow 2s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

@keyframes celebration-glow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 215, 0, 0.8),
            0 0 20px rgba(255, 215, 0, 0.6),
            0 0 30px rgba(255, 215, 0, 0.4),
            0 0 40px rgba(255, 215, 0, 0.2);
    }
    50% {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 1),
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 40px rgba(255, 215, 0, 0.6),
            0 0 50px rgba(255, 215, 0, 0.4),
            0 0 60px rgba(255, 215, 0, 0.2);
    }
}

.sparkle {
    display: inline-block;
    color: #FFD700;
    filter: drop-shadow(0 0 10px #FFD700);
    animation: sparkle-enhanced 1.5s ease-in-out infinite;
}

@keyframes sparkle-enhanced {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 10px #FFD700);
    }
    25% {
        opacity: 0.7;
        transform: scale(1.3) rotate(90deg);
        filter: drop-shadow(0 0 20px #FFD700);
    }
    50% {
        opacity: 1;
        transform: scale(1) rotate(180deg);
        filter: drop-shadow(0 0 10px #FFD700);
    }
    75% {
        opacity: 0.7;
        transform: scale(1.3) rotate(270deg);
        filter: drop-shadow(0 0 20px #FFD700);
    }
}

.gift-card-content {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-radius: 15px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    direction: rtl;
    position: relative;
    animation: gift-content-glow 3s ease-in-out infinite;
}

@keyframes gift-content-glow {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.1),
            0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(0, 0, 0, 0.1),
            0 0 40px rgba(255, 215, 0, 0.6),
            inset 0 0 20px rgba(255, 215, 0, 0.1);
    }
}

.gift-card-header {
    background: linear-gradient(135deg, #790b05 0%, #5e0903 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.gift-card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: white !important;
    position: relative;
    z-index: 1;
    animation: header-bounce 2s ease-in-out infinite;
}

@keyframes header-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.gift-card-body {
    padding: 30px;
    direction: rtl;
}

.serial-section,
.code-section {
    margin-bottom: 25px;
}

.gift-label {
    display: block;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-align: right;
}

.serial-number,
.code-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #790b05;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    direction: rtl;
    animation: code-pulse 3s ease-in-out infinite;
}

@keyframes code-pulse {
    0%, 100% {
        border-color: #790b05;
        box-shadow: 0 0 10px rgba(121, 11, 5, 0.3);
    }
    50% {
        border-color: #f1a936;
        box-shadow: 0 0 20px rgba(241, 169, 54, 0.6);
    }
}

.serial-number:hover,
.code-line:hover {
    box-shadow: 0 5px 15px rgba(121, 11, 5, 0.2);
    transform: translateY(-2px) scale(1.02);
    border-color: #f1a936;
}

.serial-text,
.code-text {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #790b05;
    letter-spacing: 2px;
    flex: 1;
    text-align: center;
}

.copy-btn {
    background: #790b05;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-right: 10px;
}

.copy-btn:hover {
    background: #5e0903;
    transform: scale(1.1);
}

.copy-btn.copied {
    background: #38a169;
}

.gift-codes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.instructions {
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    border: 2px solid #f39c12;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
    direction: rtl;
}

.instructions i {
    color: #f39c12;
    font-size: 1.5rem;
    margin-left: 10px;
}

.instructions p {
    margin: 0;
    color: #795548;
    font-weight: 500;
    flex: 1;
    text-align: right;
}

.success-animation {
    position: absolute;
    top: 20px;
    left: 20px;
}

.checkmark-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #38a169;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scale-in 0.5s ease-in-out;
}

.checkmark {
    width: 25px;
    height: 40px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    animation: check-draw 0.5s ease-in-out 0.3s both;
}

/* ===== Gift Status Styles ===== */
.gift-status-container {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
}

.gift-status-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slide-up 0.5s ease-out;
    direction: rtl;
}

.status-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 1s ease-in-out infinite alternate;
}

.status-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.status-content p {
    font-size: 1.2rem;
    color: #4a5568;
    line-height: 1.6;
}

.status-winner {
    border: 3px solid #38a169;
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
}

.status-winner h3 {
    color: #38a169;
}

.status-lost {
    border: 3px solid #e53e3e;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
}

.status-lost h3 {
    color: #e53e3e;
}

.status-progress {
    border: 3px solid #3182ce;
    background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
}

.status-progress h3 {
    color: #3182ce;
}

.loading-spinner {
    margin-top: 20px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #edf2f7;
    border-top: 5px solid #790b05;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

.encouragement-section {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    border-radius: 10px;
    border: 2px solid #f39c12;
    direction: rtl;
}

.encouragement-section i {
    font-size: 2rem;
    color: #f39c12;
    margin-bottom: 10px;
}

.encouragement-text {
    margin: 0;
    color: #795548;
    font-weight: 500;
    font-size: 1.1rem;
}

/* ===== Enhanced Competition Results ===== */
.competition-results-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 50%, #f8f9fa 100%);
    min-height: 50vh;
    direction: rtl;
    position: relative;
}

.competition-results-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241, 169, 54, 0.3), transparent);
}

.competition-results-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.competition-results-header h2 {
    font-size: 1.85rem;
    color: #790b05;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.competitor-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 18px 20px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05),
                0 0 0 1px rgba(241, 169, 54, 0.08);
    margin-bottom: 30px;
    border: 2px solid rgba(241, 169, 54, 0.2);
    direction: rtl;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.competitor-info:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08),
                0 0 0 1px rgba(241, 169, 54, 0.15);
    transform: translateY(-3px);
    border-color: rgba(241, 169, 54, 0.35);
}

.competitor-info-item {
    padding: 10px 8px;
    font-size: 0.95rem;
    text-align: right;
    transition: all 0.3s ease;
    position: relative;
    color: #374151;
}

.competitor-info-item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FF8C00, #FFB400);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.competitor-info-item:hover {
    color: #1f2937;
}

.competitor-info-item:hover::after {
    width: 100%;
}

.competitor-info-item strong {
    color: #790b05;
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: 6px;
}

.competitor-info-item i {
    color: #FF8C00;
    font-size: 1.1rem;
    margin-left: 8px;
}

.competition-card-enhanced {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05),
                0 0 0 1px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 25px;
    height: 100%;
    border: 2px solid transparent;
    direction: rtl;
    position: relative;
}

.competition-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(241, 169, 54, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.competition-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12),
                0 0 0 1px rgba(241, 169, 54, 0.2);
    border-color: rgba(241, 169, 54, 0.4);
}

.competition-card-enhanced:hover::before {
    opacity: 1;
}

.competition-card-enhanced.competition-win {
    border-color: rgba(16, 185, 129, 0.4);
}

.competition-card-enhanced.competition-win:hover {
    border-color: rgba(16, 185, 129, 0.6);
}

.competition-card-enhanced.competition-lose {
    border-color: rgba(107, 114, 128, 0.4);
}

.competition-card-enhanced.competition-lose:hover {
    border-color: rgba(107, 114, 128, 0.6);
}

.competition-card-enhanced.competition-progress {
    border-color: rgba(59, 130, 246, 0.4);
}

.competition-card-enhanced.competition-progress:hover {
    border-color: rgba(59, 130, 246, 0.6);
}

.competition-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.competition-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.competition-card-enhanced:hover .competition-image-wrapper::after {
    opacity: 1;
}

.competition-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.competition-card-enhanced:hover .competition-image-wrapper img {
    transform: scale(1.08);
}

.competition-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.badge-won {
    background: linear-gradient(135deg, #38a169 0%, #48bb78 100%);
}

.badge-progress {
    background: linear-gradient(135deg, #3182ce 0%, #4299e1 100%);
}

.badge-lost {
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
}

.competition-details {
    padding: 20px;
    direction: rtl;
    position: relative;
    z-index: 2;
}

.competition-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    text-align: right;
    line-height: 1.35;
    transition: color 0.3s ease;
}

.competition-card-enhanced:hover .competition-title {
    color: #790b05;
}

.competition-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 12px;
    text-align: right;
}

.competition-status-text {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: right;
}

.competition-win .competition-status-text {
    color: #38a169;
}

.competition-lose .competition-status-text {
    color: #e53e3e;
}

.competition-progress .competition-status-text {
    color: #3182ce;
}

.countdown-timer {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.12) 0%, rgba(241, 169, 54, 0.12) 100%);
    color: #790b05;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    margin-top: 15px;
    font-family: 'Courier New', monospace;
    border: 2px solid rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
}

.countdown-timer:hover {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.18) 0%, rgba(241, 169, 54, 0.18) 100%);
    border-color: rgba(255, 140, 0, 0.4);
}

.countdown-timer.expired {
    background: linear-gradient(135deg, #718096 0%, #4a5568 100%);
}

/* ===== Animations ===== */
@keyframes animate-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: animate-fade-in 0.6s ease-out;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

@keyframes rotate-scale {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(10deg) scale(1.1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

@keyframes scale-in {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

@keyframes check-draw {
    from {
        height: 0;
    }
    to {
        height: 40px;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .gift-card-winner {
        padding: 30px 20px;
    }

    .winner-title {
        font-size: 1.5rem;
    }

    .celebration-icon {
        font-size: 2rem;
    }

    .trophy {
        font-size: 3rem;
    }

    .serial-text,
    .code-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .competition-results-header h2 {
        font-size: 1.6rem;
    }
    
    .competitor-info {
        padding: 20px 18px;
    }

    .status-icon {
        font-size: 3.5rem;
    }

    .status-content h3 {
        font-size: 1.5rem;
    }

    .competition-image-wrapper {
        height: 180px;
    }

    .competition-details {
        padding: 18px;
    }

    .competition-title {
        font-size: 1.2rem;
    }

    .competitor-info-item {
        font-size: 0.9rem;
        padding: 12px 10px;
        margin-bottom: 15px;
    }
    
    .competitor-info-item i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .competition-image-wrapper {
        height: 160px;
    }

    .gift-card-body {
        padding: 20px;
    }

    .serial-text,
    .code-text {
        font-size: 0.9rem;
    }
    
    .competition-details {
        padding: 15px;
    }
    
    .competition-title {
        font-size: 1.1rem;
    }
}

/* ===== Enhanced Validation Messages ===== */
.validation-message {
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    color: #795548;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #f39c12;
    margin-bottom: 20px;
    animation: shake 0.5s ease-in-out;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    direction: rtl;
}

.validation-message i {
    font-size: 1.3rem;
    color: #f39c12;
}

/* Form validation from Blazor */
.form-group .validation-message,
.field-validation-error {
    background: linear-gradient(135deg, #fef5e7 0%, #fdebd0 100%);
    color: #795548;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #f39c12;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    direction: rtl;
}

.error-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #e53e3e 0%, #fc8181 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(229, 62, 62, 0.4);
    z-index: 9999;
    animation: slide-down 0.3s ease-out;
    max-width: 90%;
    text-align: center;
    font-weight: 600;
    direction: rtl;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}
