﻿﻿/* 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;
}
.result-image {
    width: 450px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* 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{
    flex: 1;
}
.col-right {
    flex: 2;
}
    @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: 640px;
    border: 2px dashed #aaa;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    overflow: hidden;
    background-color: #fafafa;
    cursor: pointer;
    position: relative;
    min-height:200px;
}

        .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%;
    }

    /* Spinner Animation */
    .spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(0, 0, 0, 1);
        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;
        margin-bottom:1rem;
    }

    .status-error {
        color: #d9534f;
    }

    .status-success {
        color: #5cb85c;
    }