﻿body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
}

/* FULL PAGE BACKGROUND */
.login-page {
    height: 100vh;
    width: 100%;
    background: url('/images/background.png') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align to right */
    padding-right: 8%;
}

/* LOGIN CARD */
.login-card {
    width: 420px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* LOGO */
.logo-img {
    width: 120px;
    margin-bottom: 20px;
}

/* TITLE */
.login-title {
    margin-bottom: 30px;
    color: #5C63A8;
}

/* FORM */
.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 6px;
        font-size: 14px;
        color: #555;
    }

    .form-group input {
        width: 100%;
        padding: 12px 14px;
        border-radius: 8px;
        border: 1px solid #ddd;
        font-size: 14px;
        transition: 0.2s;
    }

        .form-group input:focus {
            border-color: #63AEB8;
            outline: none;
            box-shadow: 0 0 0 3px rgba(99,174,184,0.15);
        }

.forgot {
    text-align: right;
    margin-bottom: 20px;
}

    .forgot a {
        font-size: 13px;
        text-decoration: none;
        color: #5C63A8;
    }

.login-btn {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg, #63AEB8, #5C63A8);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

    .login-btn:hover {
        opacity: 0.9;
    }

.register {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

    .register a {
        color: #5C63A8;
        text-decoration: none;
    }

.register-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.register-icon {
    color: #5C63A8;
    font-size: 36px;
}

/* Improve card look */
.register-card {
    padding: 25px;
    border-radius: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

    .register-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    .register-card.selected {
        border: 2px solid #5C63A8;
        background-color: rgba(92, 99, 168, 0.05);
    }


/* -------------------- */
/* MOBILE RESPONSIVE */
/* -------------------- */

@media (max-width: 992px) {

    .login-page {
        justify-content: center;
        padding-right: 0;
        padding: 20px;
    }

    .login-card {
        padding: 35px;
    }
}

/* REGISTER TYPE CARDS */

.register-card {
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s ease;
    text-align: center;
}

    .register-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,0.15);
    }

    .register-card.selected {
        border: 2px solid #5C63A8;
        background-color: rgba(92, 99, 168, 0.05);
    }


/* Custom Register Dialog Header */

.mud-dialog-title {
    background: linear-gradient(90deg, #63AEB8, #5C63A8);
    color: white !important;
    padding: 10px 24px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


    /* Make sure text inside title is white */
    .mud-dialog-title h6,
    .mud-dialog-title .mud-typography {
        color: white !important;
    }

/* Dealer Registration Dialog */
/* STEP INDICATOR */

.step-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.active-step {
    background: linear-gradient(90deg, #63AEB8, #5C63A8);
    color: white;
}

.step-line {
    flex: 1;
    height: 3px;
    background: #ddd;
}

.active-line {
    background: linear-gradient(90deg, #63AEB8, #5C63A8);
}

/* FADE ANIMATION */

.fade-animation {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* SUCCESS TEXT */

.otp-success {
    color: #2e7d32;
    font-size: 14px;
}

/* LAYOUT */

.dealer-container {
    display: flex;
    gap: 40px;
}

.dealer-info {
    flex: 1;
}

.dealer-form {
    flex: 1;
}

.info-card {
    padding: 25px;
    border-radius: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
/*Dealer Layout css*/

.dealer-main {
    min-height: calc(100vh - 64px);
}

/* Improve mobile spacing */
@media (max-width: 600px) {
    .dealer-main {
        padding: 16px !important;
    }
}




