:root {
    --bg-color: #fcfbf4;
    --card-bg: #ffffff;
    --primary-yellow: #ffcc29;
    --primary-yellow-hover: #e6b825;
    --input-bg: #f0f4f8;
    --text-dark: #2c3e50;
    --text-muted: #8e9aaf;
    --accent-blue: #00bcd4;
    --accent-red: #ff5252;
    --accent-gold: #ffc107;
    --font-main: 'Inter', sans-serif;
    --border-radius: 24px;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 204, 41, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(3, 155, 229, 0.05) 0%, transparent 20%);
    font-family: var(--font-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 520px;
    text-align: center;
}

.logo-container {
    margin-bottom: 25px;
    height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 15px 0;
}

.logo-container img {
    max-width: 210px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.05));
    mix-blend-mode: multiply;
    transform: scale(1.05);
}

.subtitle {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
    font-weight: 500;
}

.security-badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.1);
}

.login-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 45px 50px;
    box-shadow: var(--shadow);
    width: 100%;
    position: relative;
    border-top: 6px solid var(--primary-yellow);
}

.form-group {
    text-align: left;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #555;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group label span {
    color: var(--accent-red);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i.field-icon {
    position: absolute;
    left: 18px;
    color: #b0bec5;
    font-size: 16px;
}

.form-control {
    width: 100%;
    background-color: var(--input-bg);
    border: 2px solid transparent;
    padding: 18px 18px 18px 50px;
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    background-color: #fff;
    border-color: #e1f5fe;
    box-shadow: 0 0 0 4px rgba(3, 169, 244, 0.05);
}

.password-toggle {
    position: absolute;
    right: 20px;
    cursor: pointer;
    color: #b0bec5;
    font-size: 18px;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: var(--accent-blue);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    cursor: pointer;
    font-weight: 500;
}

.remember-me input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-yellow);
}

.forgot-password {
    color: #ffb300;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.security-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 10px;
    font-weight: 800;
    color: #43a047;
    text-transform: uppercase;
}

.security-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-signin {
    width: 100%;
    background: linear-gradient(135deg, #ffcc29 0%, #fbc02d 100%);
    color: #333;
    border: none;
    padding: 20px;
    border-radius: 15px;
    font-size: 17px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(255, 204, 41, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
}

.btn-signin:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 204, 41, 0.5);
}

.divider {
    position: relative;
    margin: 35px 0;
    text-align: center;
}

.divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 42%;
    height: 1.5px;
    background: #f0f0f0;
}

.divider::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 42%;
    height: 1.5px;
    background: #f0f0f0;
}

.divider span {
    font-size: 13px;
    color: #ccc;
    font-weight: 800;
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 35px;
}

.btn-action {
    padding: 15px 8px;
    border-radius: 12px;
    border: none;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-action i {
    font-size: 16px;
}

.btn-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-certificate { background: linear-gradient(135deg, #ffd54f, #ffb300); color: #333; }
.btn-migration { background: linear-gradient(135deg, #4fc3f7, #0288d1); }
.btn-register { background: linear-gradient(135deg, #ff8a80, #e53935); }

.terms-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0288d1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 18px;
    background-color: #f0f9ff;
    border: 1px dashed #b3e5fc;
    border-radius: 14px;
    transition: all 0.3s;
}

.terms-link:hover {
    background-color: #e1f5fe;
    border-style: solid;
}

.footer-text {
    margin-top: 40px;
    font-size: 11px;
    color: #abb8c3;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.8;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Notification Popup */
.notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: slideIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 340px;
    z-index: 1000;
}

.notif-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffcc29, #ffb300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #333;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(255, 204, 41, 0.3);
}

.notif-content {
    text-align: left;
}

.notif-name {
    font-size: 14px;
    font-weight: 800;
    color: #333;
    margin-bottom: 4px;
}

.notif-verified {
    color: #4caf50;
    font-size: 11px;
    margin-left: 5px;
}

.notif-action {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.notif-amount {
    font-weight: 800;
    color: #2c3e50;
}

.notif-time {
    font-size: 10px;
    color: #9e9e9e;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notif-footer {
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 10px;
    color: #003087; /* PayPal Blue */
    font-weight: 900;
    font-style: italic;
}

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

@media (max-width: 600px) {
    .login-card {
        padding: 30px 25px;
    }
    .action-buttons {
        grid-template-columns: 1fr;
    }
}
