/* ===================================
   Desktop Signup Styles
   =================================== */

:root {
    --primary-red: #dc143c;
    --primary-dark: #8b0000;
    --deep-red: #800000;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --border-gray: #ddd;
    --text-dark: #333;
    --text-light: #666;
    --error-red: #d32f2f;
    --error-bg: #ffebee;
    --success-green: #2e7d32;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.device-desktop {
    font-family: 'Arial', 'Helvetica', sans-serif;
    height: 100vh;
    overflow: hidden;
    background: var(--light-gray);
}

/* ===================================
   Split Container
   =================================== */

.signup-split-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ===================================
   LEFT SIDE - Form
   =================================== */

.form-side {
    width: 40%;
    height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-y: auto;
}

.form-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 40px 30px;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-header .shopname {
    color: var(--primary-red);
    margin-bottom: 10px;
    font-size: 32px;  /* Make it slightly larger if you want */
    font-weight: 700;  /* Make it bolder */
}

.form-header .subtitle {
    color: var(--text-light);
    font-size: 14px;
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background-color: var(--error-bg);
    color: var(--error-red);
    border: 1px solid var(--error-red);
}

/* Form Styles */
.multistep-form {
    width: 100%;
}

.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

.form-control.error {
    border-color: var(--error-red);
}

.form-control.error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.field-error {
    display: block;
    color: var(--error-red);
    font-size: 12px;
    margin-top: 5px;
}

/* Select Box */
select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Phone Input Wrapper */
.select-box {
    position: relative;
}

.select-box .selected-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-box .selected-option > div:first-child {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border-gray);
    border-radius: 6px 0 0 6px;
    background: var(--light-gray);
}

.select-box .selected-option .iconify {
    font-size: 20px;
}

.select-box .selected-option input {
    flex: 1;
    border-radius: 0 6px 6px 0;
}

/* Password Wrapper */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary-red);
}

/* Navigation Buttons */
.form-navigation {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 20, 60, 0.3);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
}

.btn-secondary:hover {
    background: #e8e8e8;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-gray);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-item.active .step-dot {
    border-color: var(--primary-red);
    background: var(--primary-red);
}

.step-item.completed .step-dot {
    border-color: var(--success-green);
    background: var(--success-green);
}

.step-number {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

.step-item.active .step-number {
    color: var(--white);
}

.step-check {
    display: none;
    color: var(--white);
    font-size: 18px;
}

.step-item.completed .step-check {
    display: block;
}

.step-item.completed .step-number {
    display: none;
}

.step-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
}

.step-item.active .step-label {
    color: var(--primary-red);
    font-weight: 600;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border-gray);
    margin: 0 -10px;
    margin-bottom: 28px;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-gray);
}

.form-footer p {
    color: var(--text-light);
    font-size: 14px;
}

.form-footer a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ===================================
   Phone Country Code Selector
   =================================== */

.select-box .options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    box-shadow: 0 4px 12px var(--shadow);
    z-index: 1000;
    display: none; /* HIDDEN BY DEFAULT */
    margin-top: 4px;
}

.select-box .options.active {
    display: block; /* SHOW WHEN ACTIVE */
}

.select-box .options .search-box {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid var(--border-gray);
    font-size: 14px;
}

.select-box .options ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

.select-box .options .option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.select-box .options .option:hover {
    background: var(--light-gray);
}

.select-box .options .option div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-box .options .option .iconify {
    font-size: 20px;
}

.select-box .options .option .country-name {
    font-size: 14px;
    color: var(--text-dark);
}

.select-box .options .option strong {
    font-size: 14px;
    color: var(--text-light);
}

.select-box .options .option.hide {
    display: none;
}

/* Selected option active state */
.selected-option.active {
    border-color: var(--primary-red);
}

/* ===================================
   RIGHT SIDE - Showcase/Slideshow
   =================================== */

.showcase-side {
    width: 60%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Slide */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slide Overlay */
.slide-overlay {
    background: transparent;
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--test-dark);
    padding: 40px;
    max-width: 600px;
    
    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.slide-content p {
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Slideshow Navigation Dots */
.slide-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.dot.active {
    width: 32px;
    border-radius: 6px;
    background: var(--white);
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-height: 800px) {
    .form-wrapper {
        padding: 30px 25px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-control {
        padding: 10px 12px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
}

