body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    font-family: Tahoma, Arial, sans-serif;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
    box-sizing: border-box;
}

.login-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.login-card-header {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    padding: 28px 24px 20px;
    text-align: center;
}

.login-title {
    margin: 0;
    font-size: 28px;
    font-weight: bold;
}

.login-subtitle {
    margin: 10px 0 0;
    font-size: 14px;
    opacity: 0.95;
}

.login-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1f2937;
    font-size: 14px;
    font-weight: bold;
}

.login-input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    color: #111827;
    background: #f8fafc;
    box-sizing: border-box;
    outline: none;
    transition: 0.2s;
}

.login-input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.login-actions {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 20px;
}

.login-btn {
    flex: 1;
    height: 46px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: 0.2s;
}

.login-btn-primary {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
}

.login-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(34, 197, 94, 0.25);
}

.login-btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.login-btn-secondary:hover {
    background: #d1d5db;
}

.login-status-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
}

.login-status-label {
    font-size: 13px;
    color: #475569;
    font-weight: bold;
}

.login-status-text {
    font-size: 14px;
    color: #0f172a;
}

.login-textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #111827;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.login-textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

@media (max-width: 600px) {
    .login-card {
        max-width: 100%;
        border-radius: 14px;
    }

    .login-card-header {
        padding: 22px 18px 16px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-form {
        padding: 18px;
    }

    .login-actions {
        flex-direction: column;
    }
}
/* حالت موفق */
.login-card-header.login-success {
    background: linear-gradient(135deg, #15803d, #22c55e);
    transition: 0.5s;
}

/* حالت ناموفق */
.login-card-header.login-fail {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
    transition: 0.5s;
}

.login-card-header.login-success .login-title,
.login-card-header.login-fail .login-title {
    color: #fff;
}

.login-card-header.login-success .login-subtitle,
.login-card-header.login-fail .login-subtitle {
    color: rgba(255,255,255,.95);
}







.donate-box{
    text-align:center;
    margin:20px 0;
}

.donate-label{
    display:block;
    margin-bottom:14px;
    font-weight:bold;
    font-size:16px;
    color:#ffffff;
}

.donate-glow-btn{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:220px;
    height:56px;
    padding:0 30px;
    border:none;
    outline:none;
    border-radius:50px;
    cursor:pointer;
    color:#fff;
    font-size:18px;
    font-weight:bold;
    font-family:Tahoma, sans-serif;
    background:linear-gradient(270deg, #ff00cc, #7b2cff, #00cfff, #ff00cc);
    background-size:600% 600%;
    box-shadow:
        0 0 10px rgba(255, 0, 204, 0.7),
        0 0 20px rgba(123, 44, 255, 0.6),
        0 0 35px rgba(0, 207, 255, 0.5);
    animation:gradientFlow 6s ease infinite, glowPulse 1.6s ease-in-out infinite;
    overflow:hidden;
    transition:transform .2s ease, box-shadow .2s ease;
}

.donate-glow-btn:hover{
    transform:translateY(-2px) scale(1.03);
    box-shadow:
        0 0 15px rgba(255, 0, 204, 0.95),
        0 0 30px rgba(123, 44, 255, 0.85),
        0 0 50px rgba(0, 207, 255, 0.8);
}

.donate-glow-btn:active{
    transform:scale(.97);
}

.donate-glow-btn::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:70%;
    height:100%;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,.75), transparent);
    transform:skewX(-25deg);
    animation:shineMove 2.4s linear infinite;
}

.donate-glow-btn::after{
    content:"";
    position:absolute;
    inset:-3px;
    border-radius:50px;
    z-index:-1;
    background:linear-gradient(270deg, #ff00cc, #7b2cff, #00cfff, #ff00cc);
    background-size:600% 600%;
    filter:blur(14px);
    opacity:.9;
    animation:gradientFlow 6s ease infinite;
}

@keyframes gradientFlow{
    0%{ background-position:0% 50%; }
    50%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}

@keyframes glowPulse{
    0%,100%{
        box-shadow:
            0 0 10px rgba(255, 0, 204, 0.7),
            0 0 20px rgba(123, 44, 255, 0.6),
            0 0 35px rgba(0, 207, 255, 0.5);
    }
    50%{
        box-shadow:
            0 0 18px rgba(255, 0, 204, 1),
            0 0 35px rgba(123, 44, 255, .95),
            0 0 60px rgba(0, 207, 255, .9);
    }
}

@keyframes shineMove{
    0%{ left:-120%; }
    100%{ left:140%; }
}
