﻿﻿/* Base styles for the demo */
#ai-visualiser {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    background-color: #efefef;
}

    /* The Container Component */
    .upload-card {
        background-color: #ffffff;
        width: 100%;
        padding: 2rem;
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
    }

        .upload-card h2 {
            margin-top: 0;
            margin-bottom: 1.5rem;
            color: #333;
            text-align: center;
        }

    /* Layout Columns */
    .form-row {
        display: flex;
        gap: 2rem;
    }

    .col-left, .col-right {
        flex: 1;
    }
    @media (max-width: 768px) {
        .form-row {
            flex-direction: column;
        }
    }
    .form-group {
        margin-bottom: 1.2rem;
    }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: #aaa;
            font-weight: 600;
            font-size: 1rem;
        }

    .form-control {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 1rem;
        box-sizing: border-box; /* Ensures padding doesn't affect width */
        transition: border-color 0.2s;
    }

        .form-control:focus {
            border-color: #007bff;
            outline: none;
        }
#profileForm{padding:25px;width:100%;}
#drivewayType {
    color: #aaa;
}
/* Image Upload & Preview Styling */
.image-preview-area {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
}

        .image-preview-area:hover {
            border-color: #007bff;
            background-color: #f0f8ff;
        }

        .image-preview-area img {
            width: 100%;
            max-width:700px;
            height: 100%;
            object-fit: cover;
            display: none; /* Hidden by default */
        }

        .image-preview-area span {
            color: #aaa;
            pointer-events: none;
        }

    /* Hide the actual file input */
    #fileInput {
        display: none;
    }

    /* Button Styling */
    .btn-submit {
        width: 100%;
        padding: 12px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s;
    }

        .btn-submit:hover {
            background-color: #0056b3;
        }

        .btn-submit:disabled {
            background-color: #ccc;
            cursor: not-allowed;
        }

    /* Fix for intl-tel-input width */
    .iti {
        width: 100%;
    }

    /* OTP Styling */
    .otp-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 1.5rem 0;
    }

    .otp-input {
        width: 45px;
        padding: 14px 2px;
        font-size: 2rem;
        text-align: center;
        border: 2px solid #ddd;
        border-radius: 6px;
        font-weight:bold;
        color: #555;
    }

    .otp-dash {
        font-size: 1.2rem;
        color: #999;
        font-weight: bold;
    }

    /* Spinner Animation */
    .spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top-color: #fff;
        animation: spin 1s ease-in-out infinite;
        margin-right: 8px;
        vertical-align: middle;
    }
    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
    /* Status Messages */
    .status-message {
        margin-top: 1rem;
        text-align: center;
        font-size: 0.9rem;
    }

    .status-error {
        color: #d9534f;
    }

    .status-success {
        color: #5cb85c;
    }