﻿:root {
    --primary-color: #231F20;
    --secondary-color: #007AA6;
    --bg-color: #f8f9fa;
}

body {
    background-color: var(--bg-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    min-height: 100vh;
}

/* Branding Pane Styles (Desktop) */
.branding-pane {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #004d68 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 4rem;
}

.branding-shape-1 {
    position: absolute;
    top: -15%;
    left: -10%;
    width: 50vh;
    height: 50vh;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.branding-shape-2 {
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 40vh;
    height: 40vh;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

/* Mobile-first container sizing */
.auth-container {
    width: 100%;
    max-width: 420px;
    padding: 1.5rem;
    margin: auto;
}

.auth-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 2rem 1.5rem;
}

/* Company Selection Styles */
.company-option {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

    .company-option:hover {
        border-color: #b3d7e5;
        background-color: #fcfcfc;
    }

    /* Selected State */
    .company-option.selected {
        border-color: var(--secondary-color);
        background-color: rgba(0, 122, 166, 0.03);
    }

.company-icon {
    color: var(--secondary-color);
    font-size: 1.5rem;
    background: rgba(0, 122, 166, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Custom Radio Button styling to match the image layout */
.company-option .form-check-input {
    width: 1.25em;
    height: 1.25em;
    border-color: #adb5bd;
    cursor: pointer;
}

    .company-option .form-check-input:checked {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
    }

/* Buttons */
.btn-custom-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

    .btn-custom-primary:hover {
        background-color: #005f82; /* Darker shade of secondary */
        border-color: #005f82;
        color: #ffffff;
    }

    .btn-custom-primary:disabled {
        background-color: #a5d2e3;
        border-color: #a5d2e3;
    }

.btn-custom-outline {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    background: transparent;
}

    .btn-custom-outline:hover {
        background-color: #f8f9fa;
    }

/* Form Controls */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
}

    .form-control:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 122, 166, 0.25);
    }

/* OTP Input Styles */
.otp-input {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    margin: 0 0.25rem;
    background-color: #ffffff;
}

    .otp-input:focus {
        border-color: var(--secondary-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 122, 166, 0.25);
        outline: none;
    }

/* Utility classes */
.text-primary-custom {
    color: var(--primary-color);
}

.text-secondary-custom {
    color: var(--secondary-color);
}

.cursor-pointer {
    cursor: pointer;
}

/* Animation for section switching */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
