/* Global */
body.body-dark {
    background-color: #0A192F;
    font-family: "Space Grotesk", sans-serif;
    color: #E6F1FF;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(72, 209, 204, 0.1), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(244, 192, 37, 0.1), transparent 30%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231E293B' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* Center Wrapper */
.login-wrapper {
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Brand */
.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 32px;
    gap: 12px;
}

.brand-icon {
    font-size: 40px;
    color: #f4c025;
    text-shadow: 0 0 10px #f4c025;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px #f4c025;
}

/* Card */
.login-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Headings */
.login-header {
    text-align: center;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.login-subtitle {
    color: rgba(230, 241, 255, 0.7);
    font-size: 15px;
    margin-top: 6px;
    margin-bottom: 30px;
}

/* Form */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Input Groups */
.input-group label {
    font-size: 14px;
    color: rgba(230, 241, 255, 0.8);
    margin-bottom: 6px;
    display: block;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: rgba(230, 241, 255, 0.5);
}

.input-wrapper input {
    width: 100%;
    height: 48px;
    padding-left: 48px;
    padding-right: 14px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid #3d4a5f;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.input-wrapper input:focus {
    border-color: #f4c025;
    box-shadow: 0 0 0 2px rgba(244, 192, 37, 0.5);
}

/* Forgot Password */
.forgot-row {
    text-align: right;
}

.forgot-link {
    color: rgba(244, 192, 37, 0.8);
    transition: 0.2s;
}

.forgot-link:hover {
    color: #f4c025;
    text-decoration: underline;
}

/* Buttons */
.button-group {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-primary {
    height: 48px;
    width: 100%;
    background: linear-gradient(90deg, #f4c025, #f8d057);
    border-radius: 10px;
    color: #0A192F;
    font-size: 16px;
    font-weight: 700;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 15px rgba(244, 192, 37, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(244, 192, 37, 0.6);
}

.btn-secondary {
    height: 48px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(244, 192, 37, 0.5);
    background: transparent;
    color: rgba(244, 192, 37, 0.9);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    border-color: #f4c025;
    background: rgba(244, 192, 37, 0.1);
    box-shadow: 0 0 15px rgba(244, 192, 37, 0.4);
}

.wallet-icon {
    margin-right: 10px;
    font-size: 20px;
}

/* Footer */
.signup-footer {
    margin-top: 30px;
    text-align: center;
    color: rgba(230, 241, 255, 0.6);
}

.signup-link {
    color: rgba(244, 192, 37, 0.8);
}

.signup-link:hover {
    color: #f4c025;
    text-decoration: underline;
}
