/* ===== MY CONDOM PLAN STYLES ===== */

:root {
    --color-teal: #00A8A8;
    --color-gold: #F6CC00;
    --color-magenta: #FF007F;
    --color-text: #333;
    --color-bg: #f5f9fc;
    --color-white: #ffffff;
}

/* Container */
.condom-plan-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: var(--color-bg);
}

/* Header */
.condom-plan-header {
    text-align: center;
    background: linear-gradient(135deg, var(--color-teal), var(--color-gold));
    color: white;
    padding: 40px 24px;
    border-radius: 16px;
    margin-bottom: 32px;
    box-shadow: 0 8px 24px rgba(0, 168, 168, 0.2);
}

.condom-plan-header h1 {
    margin: 0 0 16px 0;
    font-size: 36px;
    font-family: 'Bree Serif', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.plan-subtitle {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 16px 0;
    font-style: italic;
}

.plan-intro {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 24px 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Progress Bar */
.plan-progress {
    max-width: 500px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: white;
    transition: width 0.5s ease;
    border-radius: 12px;
}

.progress-text {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

/* Sections */
.plan-sections {
    margin-bottom: 32px;
}

.plan-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.plan-section.completed {
    border-left: 5px solid var(--color-teal);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.05), rgba(246, 204, 0, 0.05));
    border-bottom: 2px solid var(--color-bg);
    transition: all 0.3s ease;
}

.section-header:hover {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(246, 204, 0, 0.1));
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-teal);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

.section-title h2 {
    margin: 0;
    font-size: 24px;
    font-family: 'Bree Serif', serif;
    color: var(--color-text);
}

.section-toggle {
    font-size: 24px;
    color: var(--color-teal);
    transition: transform 0.3s ease;
}

.section-content {
    padding: 32px 24px;
    display: block;
}

.section-instructions {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0 0 24px 0;
    padding: 16px;
    background: rgba(0, 168, 168, 0.05);
    border-left: 4px solid var(--color-teal);
    border-radius: 8px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.feature-card {
    background: var(--color-bg);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--color-teal);
    box-shadow: 0 4px 12px rgba(0, 168, 168, 0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.feature-icon {
    font-size: 28px;
}

.feature-header h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Bree Serif', serif;
    color: var(--color-text);
}

.feature-description {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.feature-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.feature-notes {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
    transition: border-color 0.3s ease;
}

.feature-notes:focus {
    outline: none;
    border-color: var(--color-teal);
}

/* Priorities Grid */
.priorities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.priority-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--color-bg);
    border: 3px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.priority-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
}

.priority-card.selected {
    border-color: var(--color-teal);
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(246, 204, 0, 0.1));
}

.priority-card input[type="checkbox"] {
    display: none;
}

.priority-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.priority-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.custom-priority {
    margin-top: 16px;
}

.custom-priority label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--color-text);
}

.custom-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.custom-input:focus {
    outline: none;
    border-color: var(--color-teal);
}

/* Shopping Section */
.shopping-fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.field-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--color-text);
}

.shopping-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.shopping-input:focus {
    outline: none;
    border-color: var(--color-teal);
}

.shopping-tips {
    background: rgba(246, 204, 0, 0.1);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
}

.shopping-tips h4 {
    margin: 0 0 12px 0;
    font-family: 'Bree Serif', serif;
    color: var(--color-text);
}

.shopping-tips ul {
    margin: 0;
    padding-left: 20px;
}

.shopping-tips li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #666;
}

/* Confidence Section */
.confidence-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.confidence-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--color-bg);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confidence-item:hover {
    background: rgba(0, 168, 168, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.confidence-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.confidence-item span {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
}

.custom-confidence {
    margin-top: 16px;
}

.custom-confidence label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
}

.custom-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.3s ease;
}

.custom-textarea:focus {
    outline: none;
    border-color: var(--color-teal);
}

/* Troubleshooting Section */
.troubleshooting-scenarios {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scenario-card {
    background: var(--color-bg);
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--color-magenta);
}

.scenario-card h4 {
    margin: 0 0 12px 0;
    font-family: 'Bree Serif', serif;
    font-size: 18px;
    color: var(--color-text);
}

.scenario-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.scenario-input:focus {
    outline: none;
    border-color: var(--color-magenta);
}

/* Commitment Section */
.commitment-prompts {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.prompt-card {
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.05), rgba(246, 204, 0, 0.05));
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
}

.prompt-card label {
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--color-text);
}

.commitment-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}

.commitment-textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.signature-section {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, rgba(0, 168, 168, 0.1), rgba(246, 204, 0, 0.1));
    border-radius: 12px;
    margin-bottom: 24px;
}

.signature-section p {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
}

.signature-date {
    font-size: 16px;
    color: #666;
    font-style: italic;
}

/* Section Complete Button */
.section-complete-btn {
    width: 100%;
    padding: 16px;
    background: white;
    border: 3px solid var(--color-teal);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-teal);
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-complete-btn:hover {
    background: var(--color-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 168, 168, 0.3);
}

/* Action Buttons */
.plan-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.plan-actions .btn-primary,
.plan-actions .btn-secondary {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.plan-actions .btn-primary {
    background: linear-gradient(135deg, var(--color-teal), var(--color-gold));
    color: white;
}

.plan-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 168, 168, 0.3);
}

.plan-actions .btn-secondary {
    background: white;
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
}

.plan-actions .btn-secondary:hover {
    background: var(--color-teal);
    color: white;
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .condom-plan-header {
        padding: 24px 16px;
    }
    
    .condom-plan-header h1 {
        font-size: 28px;
    }
    
    .plan-subtitle {
        font-size: 18px;
    }
    
    .plan-intro {
        font-size: 14px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .priorities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .priority-card {
        padding: 16px;
    }
    
    .priority-icon {
        font-size: 28px;
    }
    
    .priority-label {
        font-size: 14px;
    }
    
    .section-header {
        padding: 16px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .section-content {
        padding: 20px 16px;
    }
    
    .plan-actions {
        flex-direction: column;
    }
    
    .plan-actions .btn-primary,
    .plan-actions .btn-secondary {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .priorities-grid {
        grid-template-columns: 1fr;
    }
    
    .section-number {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}
