/* Booking System Styles */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Setup Container */
.setup-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.setup-header {
    text-align: center;
    color: #1f2937;
    margin-bottom: 40px;
}

.setup-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.setup-header p {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: start;
    gap: 12px;
}

.alert-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    color: #065f46;
}

.alert i {
    font-size: 24px;
}

/* Existing Shops */
.existing-shops {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.existing-shops h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
}

.shop-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 12px;
}

.shop-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-logo-small {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.shop-info h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.shop-url {
    font-size: 0.875rem;
    color: #6b7280;
    font-family: 'Courier New', monospace;
}

.shop-actions {
    display: flex;
    gap: 8px;
}

/* Form Container */
.setup-form-container {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.setup-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2937;
}

/* Form Sections */
.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-section h3 i {
    color: #3b82f6;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    font-size: 0.875rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input[type="file"] {
    padding: 8px;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
}

.form-group input[type="color"] {
    width: 100px;
    height: 50px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
}

.form-group small {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #6b7280;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* URL Preview */
.url-preview {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s;
}

.url-preview:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.url-prefix {
    padding: 12px 16px;
    background: #f9fafb;
    color: #6b7280;
    font-size: 0.875rem;
    white-space: nowrap;
    border-right: 2px solid #e5e7eb;
}

.url-preview input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    font-size: 1rem;
}

.url-preview input:focus {
    outline: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn i {
    font-size: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: white;
    color: #374151;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
    .setup-header h1 {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .shop-card {
        flex-direction: column;
        gap: 16px;
    }
    
    .shop-actions {
        width: 100%;
    }
    
    .shop-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* Storefront Styles */
.storefront {
    min-height: 100vh;
    background: #f9fafb;
}

.storefront-header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.storefront-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    height: 50px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.storefront-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.vehicle-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.vehicle-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.vehicle-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin: 12px 0;
}

.vehicle-price small {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.vehicle-features {
    display: flex;
    gap: 16px;
    margin: 16px 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.vehicle-features span {
    display: flex;
    align-items: center;
    gap: 4px;
}
