/**
 * onboarding.css - Consolidated styles for the Onboarding pages
 * Contains all common styles used across the onboarding process
 */

/* Main Layout */
.onboarding-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.onboarding-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.onboarding-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Header Styles */
.onboarding-header {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    padding: 30px;
    position: relative;
    text-align: center;
    border-bottom: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.onboarding-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    display: inline-block;
    position: relative;
    padding-bottom: 10px;
}

.onboarding-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.onboarding-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-top: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Progress Bar */
.progress-container {
    padding: 15px 30px;
    background-color: rgba(255, 255, 255, 0.15);
    margin-top: 15px;
    border-radius: 0 0 8px 8px;
}

.progress {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-bar {
    background: linear-gradient(90deg, #00cc66 0%, #33cc99 100%);
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 204, 102, 0.5);
    transition: width 0.5s ease;
}

/* Body Content */
.onboarding-body {
    padding: 35px;
    background-color: #ffffff;
}

.onboarding-step {
    font-size: 14px;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 15px;
    display: inline-block;
    background-color: rgba(0, 102, 204, 0.1);
    padding: 6px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    border-left: 3px solid #0066cc;
}

/* Country Badge */
.country-badge {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 50px;
    padding: 10px 18px;
    margin-top: 15px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    font-weight: 500;
}

.country-badge:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.country-flag-small {
    width: 28px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Options Grid */
.options-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* Option Cards */
.option-card, .auth-option {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.option-card:hover, .auth-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.option-card.selected, .auth-option.selected {
    border-color: #0066cc;
    background-color: rgba(0, 102, 204, 0.05);
}

/* Icons */
.option-icon, .auth-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    transition: all 0.3s ease;
}

.option-card:hover .option-icon,
.option-card.selected .option-icon,
.auth-option:hover .auth-icon,
.auth-option.selected .auth-icon {
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.option-card:hover .option-icon,
.option-card.selected .option-icon,
.auth-option:hover .login-icon,
.auth-option.selected .login-icon {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
}

.auth-option:hover .register-icon,
.auth-option.selected .register-icon {
    background: linear-gradient(135deg, #00cc66 0%, #33cc99 100%);
    color: white;
}

.login-icon {
    color: #0066cc;
}

.register-icon {
    color: #00cc66;
}

/* Titles and Descriptions */
.option-title, .auth-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.option-description, .auth-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Selection Indicator */
.selection-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.auth-option.selected .selection-indicator {
    border-color: #0066cc;
    background-color: #0066cc;
}

.auth-option.selected .selection-indicator:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
}

/* Info Message */
.info-message {
    background-color: rgba(0, 102, 204, 0.1);
    border-left: 4px solid #0066cc;
    padding: 15px;
    border-radius: 8px;
    margin: 30px 0 20px;
}

.info-message i {
    color: #0066cc;
    margin-right: 8px;
}

.info-message-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #0066cc;
}

/* Action Buttons */
.action-buttons {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.btn-back {
    background-color: transparent;
    color: #555;
    border: 2px solid #ddd;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-back:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ccc;
    transform: translateY(-2px);
}

.btn-back i {
    margin-right: 10px;
    font-size: 14px;
}

.btn-next {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 102, 204, 0.2);
}

.btn-next:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
    background: linear-gradient(135deg, #005bb8 0%, #0088ee 100%);
}

.btn-next i {
    margin-left: 10px;
    font-size: 14px;
}

.btn-next:disabled {
    background: linear-gradient(135deg, #cccccc 0%, #dddddd 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

/* File Upload Styles */
.upload-container {
    background-color: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    cursor: pointer;
}

.upload-container:hover {
    border-color: #0066cc;
    background-color: rgba(0, 102, 204, 0.05);
}

.upload-icon {
    font-size: 48px;
    color: #0066cc;
    margin-bottom: 15px;
}

.upload-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.upload-subtitle {
    color: #666;
    margin-bottom: 20px;
}

.upload-button {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.upload-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.upload-button i {
    margin-right: 8px;
}

.file-input {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-name {
    margin-top: 15px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: none;
}

.file-name.active {
    display: block;
}

/* Form Elements */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.text-danger {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .options-container {
        grid-template-columns: 1fr;
    }
}

/* Country Grid Styles */
.country-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.country-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 15px 10px;
}

.country-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #e9ecef;
}

.country-item.selected {
    border-color: #0066cc;
    background-color: rgba(0, 102, 204, 0.05);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.country-flag {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

/* Business Search and Claim Styles */
.search-form {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.search-form-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.search-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    align-items: end;
}

.search-button {
    background: linear-gradient(135deg, #0066cc 0%, #0099ff 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.2);
}

.search-button i {
    margin-right: 8px;
}

.results-container {
    margin-top: 20px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.results-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.results-count {
    font-size: 14px;
    color: #666;
    background-color: #f8f9fa;
    padding: 5px 10px;
    border-radius: 50px;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.business-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #0066cc;
}

.business-card.selected {
    border-color: #0066cc;
    background-color: rgba(0, 102, 204, 0.05);
}

.business-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.business-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    overflow: hidden;
    flex-shrink: 0;
}

.business-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.business-logo i {
    font-size: 24px;
    color: #0066cc;
}

.business-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.3;
}

.business-category {
    font-size: 13px;
    color: #666;
    margin-top: 3px;
}

.business-details {
    margin-top: 15px;
}

.business-detail {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 13px;
    color: #555;
}

.business-detail i {
    margin-right: 8px;
    color: #0066cc;
    margin-top: 3px;
    flex-shrink: 0;
}

.business-detail a {
    color: #0066cc;
    text-decoration: none;
}

.business-detail a:hover {
    text-decoration: underline;
}

.warning-message {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.warning-message i {
    color: #ffc107;
    margin-right: 8px;
}

/* Additional Responsive Adjustments for Business Search */
@media (max-width: 992px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .business-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
    
    .search-grid .form-group:last-child {
        margin-top: 10px;
    }
}

.country-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Additional Responsive Adjustments */
@media (max-width: 768px) {
    .country-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .country-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}