﻿
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.demo-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.demo-button {
    background: #3498db;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

    .demo-button:hover {
        background: #2980b9;
        transform: translateY(-2px);
    }

/* Modal styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 20px;
}

.modal-body {
    padding: 25px;
}

.modal-icon {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 15px;
    text-align: center;
}

.modal-footer {
    border-top: none;
    justify-content: center;
    padding-bottom: 25px;
}

.btn-yes {
    background: #27ae60;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

    .btn-yes:hover {
        background: #219653;
        transform: translateY(-2px);
    }

.btn-no {
    background: #95a5a6;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

    .btn-no:hover {
        background: #7f8c8d;
        transform: translateY(-2px);
    }

/* Registration form styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-control {
    padding: 15px 15px 15px 45px;
    border: 2px solid #e3e3e3;
    border-radius: 8px;
    height: 50px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #3498db;
        box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
    }

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    z-index: 5;
}

.btn-register {
    background: #3498db;
    border: none;
    padding: 8px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s;
    height: 50px;
}

    .btn-register:hover {
        background: #2980b9;
        transform: translateY(-2px);
    }

.terms-text {
    color: #7f8c8d;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 15px;
}

.form-check-input:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.form-check-label {
    color: #555;
}

    .form-check-label a {
        color: #3498db;
        text-decoration: none;
    }

.user-details-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #3498db;
}

.otp-timer {
    color: #e74c3c;
    font-weight: bold;
}

.form-check-input {
    width: 18px;
    height: 18px;
    accent-color: #007bff;
    border: 2px solid #007bff;
}

    .form-check-input:checked {
        background-color: #007bff;
        border-color: #007bff;
    }

/* Email and Mobile Verification Styles */
.verification-container {
    position: relative;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.input-field {
    flex: 1;
    position: relative;
}

.btn-send-otp {
    background: #0dcaf0;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s;
    height: 50px;
    min-width: 120px;
}

    .btn-send-otp:hover:not(:disabled) {
        background: #138496;
        transform: translateY(-1px);
    }

    .btn-send-otp:disabled {
        background: #6c757d;
        cursor: not-allowed;
    }

.verification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    font-size: 0.85rem;
    padding: 8px 12px;
    border-radius: 6px;
    background: #f8f9fa;
}

.verified-badge {
    color: #28a745;
    font-weight: 600;
}

.verification-icon {
    font-size: 1rem;
}

/* Email specific button */
#sendEmailOtpBtn {
    background: #17a2b8;
}

    #sendEmailOtpBtn:hover:not(:disabled) {
        background: #218838;
    }

/* Mobile specific button */
#sendMobileOtpBtn {
    background: #17a2b8;
}

    #sendMobileOtpBtn:hover:not(:disabled) {
        background: #138496;
    }

/* Form labels */
.form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    display: block;
}

/* Responsive design */
@media (max-width: 576px) {
    .input-group {
        flex-direction: column;
    }

    .btn-send-otp {
        width: 100%;
        min-width: auto;
    }
}

.otp-input {
    font-size: 1rem;
    font-weight: normal;
    text-align: center;
    letter-spacing: normal;
    padding: 12px;
}

    .otp-input.entered {
        font-size: 1.2rem;
        font-weight: 600;
        letter-spacing: 8px;
    }

/* Modal header colors */
.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
}

/* Existing user styles */
.existing-user-card {
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.user-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    padding: 5px 0;
    border-bottom: 1px solid #f1f1f1;
}

.user-info-label {
    font-weight: 600;
    color: #555;
}

.user-info-value {
    color: #333;
}

/* New styles for conditional display */
.user-input-section {
    transition: all 0.3s ease;
}

.user-details-section {
    transition: all 0.3s ease;
}

.custom-header-bg {
    background-color: #ffffff; /* Solid white */
}

.verification-tick {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 5;
}

.input-field {
    position: relative;
    flex: 1;
}

    .input-field .form-control {
        padding-right: 40px;
    }

        .input-field .form-control:disabled {
            padding-right: 40px; /* Disabled state mein bhi padding maintain kare */
        }

/* Reduce space between input fields */
.form-group {
    margin-bottom: 8px; /* Reduce from default 15px or more */
}

/* Reduce space in verification containers */
.verification-container {
    margin-bottom: 10px;
}

/* Optional: reduce padding inside the modal body */
.modal-body {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Optional: Reduce top margin of the select box */
#ddIndustryType {
    margin-top: 5px;
    margin-bottom: 5px;
}

/* Optional: Reduce bottom margin of checkbox */
.form-check {
    margin-bottom: 2px;
}

/* Optional: Reduce margin of the Register button */
.d-flex.justify-content-center.mt-3 {
    margin-top: 15px !important;
}

/* Reduce space below terms text */
.terms-text {
    margin-top: 2px;
}


