/* Common CSS - Reusable components and layouts */

/* Common Layout Classes */
.common-grid {
    display: grid;
    gap: var(--spacing-md);
}

.common-grid-2col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.common-grid-3col {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.common-grid-4col {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Common Card Component */
.common-card {
    background: var(--surface-elevated);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    transition: all var(--transition-all);
    cursor: pointer;
}

.common-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-color);
}

.common-card.selected {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* Common Section */
.common-section {
    margin-bottom: var(--spacing-xl);
}

/* Common Typography */
.common-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    display: block;
}

.common-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

/* Common Form Elements */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-hint {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 0;
}

/* Common Radio Option */
.radio-option {
    padding: 20px 24px;
    background: var(--surface-elevated);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.radio-option:hover {
    border-color: var(--accent-gold);
    transform: translateX(5px);
    background: var(--surface-dark);
}

.radio-option:has(input:checked) {
    style-male-mode-1.jpg
    border-color: var(--accent-gold);
    color: #000;
    font-weight: 500;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.radio-option input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    accent-color: var(--accent-gold);
}

.radio-option span {
    font-size: 1.05rem;
    line-height: 1.5;
    text-align: left;
    flex: 1;
}

/* Common Checkbox Option */
.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: var(--surface-elevated);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-option:hover {
    border-color: var(--border-color);
    transform: translateY(-1px);
}

.checkbox-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    accent-color: var(--accent-gold);
}

/* Common Button Styles */
.btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--surface-elevated);
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-all);
}

.btn:hover {
    border-color: var(--accent-gold);
    background: var(--surface-dark);
    transform: translateY(-2px);
}

/* Common Input Styles */
.input-text {
    width: 100%;
    padding: 14px 16px;
    background: var(--surface-elevated);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.input-text:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: var(--surface-dark);
}

.input-text::placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

/* Common Image Styles */
.common-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive Common Styles */
@media (max-width: 1200px) {
    .common-grid-4col {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .common-grid-2col,
    .common-grid-3col,
    .common-grid-4col {
        grid-template-columns: 1fr;
    }

    .radio-option {
        padding: 16px 20px;
    }

    .radio-option span {
        font-size: 0.95rem;
    }
}

