/* Long-Distance Relationship Planner Styles */
.ldrp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: linear-gradient(135deg, #fef7ff 0%, #f0f9ff 100%);
    min-height: 100vh;
}

.ldrp-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #EC4899;
}

.ldrp-header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.ldrp-subtitle {
    color: #7f8c8d;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.ldrp-app-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .ldrp-app-container {
        grid-template-columns: 1fr;
    }
}

.ldrp-input-section, .ldrp-output-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ldrp-section-title {
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f3f5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ldrp-section-title i {
    color: #EC4899;
}

.ldrp-form-group {
    margin-bottom: 25px;
}

.ldrp-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ldrp-form-group label i {
    color: #EC4899;
    width: 20px;
}

.ldrp-form-group input, .ldrp-form-group select, .ldrp-form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fafcfd;
}

.ldrp-form-group input:focus, .ldrp-form-group select:focus, .ldrp-form-group textarea:focus {
    border-color: #EC4899;
    outline: none;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.2);
    background: white;
}

.ldrp-range-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.ldrp-range-value {
    font-weight: 600;
    color: #EC4899;
    min-width: 80px;
}

.ldrp-btn {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.ldrp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.ldrp-btn-generate {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.ldrp-btn-generate:hover {
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.ldrp-button-group {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.ldrp-output-content {
    min-height: 200px;
}

.ldrp-plan-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-left: 5px solid #EC4899;
    transition: all 0.3s;
}

.ldrp-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.ldrp-plan-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.ldrp-plan-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ldrp-plan-badge {
    background: #8B5CF6;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ldrp-travel-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.ldrp-travel-option {
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.ldrp-travel-option.recommended {
    border-color: #10B981;
    background: #f0fdf4;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.2);
}

.ldrp-travel-icon {
    font-size: 32px;
    margin-bottom: 15px;
    color: #8B5CF6;
}

.ldrp-travel-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.ldrp-travel-details {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.ldrp-travel-cost {
    font-weight: 700;
    color: #EC4899;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.ldrp-travel-time {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.ldrp-schedule-calendar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.ldrp-quarter-card {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.ldrp-quarter-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.ldrp-quarter-visit {
    background: #e0e7ff;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 10px;
    border-left: 3px solid #8B5CF6;
}

.ldrp-visit-dates {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.ldrp-visit-duration {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.ldrp-budget-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.ldrp-budget-item {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.ldrp-budget-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #EC4899;
    margin-bottom: 5px;
}

.ldrp-budget-label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.ldrp-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.ldrp-spinner {
    border: 5px solid rgba(236, 72, 153, 0.2);
    border-left-color: #EC4899;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: ldrp-spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes ldrp-spin {
    to { transform: rotate(360deg); }
}

.ldrp-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.ldrp-empty-state i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #e1e8ed;
}

.ldrp-tips-section {
    background: #fdf2f8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.ldrp-tips-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.ldrp-distance-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.ldrp-distance-option {
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.ldrp-distance-option:hover {
    border-color: #EC4899;
}

.ldrp-distance-option.selected {
    border-color: #EC4899;
    background: #fdf2f8;
}

.ldrp-distance-icon {
    font-size: 20px;
    margin-bottom: 8px;
    color: #EC4899;
}

.ldrp-distance-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.ldrp-distance-range {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
}

.ldrp-time-off-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.ldrp-time-off-option {
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.ldrp-time-off-option:hover {
    border-color: #8B5CF6;
}

.ldrp-time-off-option.selected {
    border-color: #8B5CF6;
    background: #faf5ff;
}

.ldrp-time-off-icon {
    font-size: 20px;
    margin-bottom: 8px;
    color: #8B5CF6;
}

.ldrp-time-off-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.ldrp-time-off-days {
    font-size: 0.8rem;
    color: #7f8c8d;
    margin-top: 5px;
}