/**
 * Garden Designer Pro - Frontend Styles
 */

/* Reset & Base */
.gdp-designer {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

.gdp-designer * {
    box-sizing: border-box;
}

/* Progress Bar */
.gdp-progress {
    margin-bottom: 30px;
}

.gdp-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.gdp-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
    transition: all 0.3s;
}

.gdp-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    font-weight: 600;
    font-size: 12px;
}

.gdp-step.active {
    color: #1a472a;
}

.gdp-step.active span {
    background: #1a472a;
    color: #fff;
}

.gdp-step.completed span {
    background: #27ae60;
    color: #fff;
}

.gdp-step.premium-step {
    color: #b8860b;
}

.gdp-progress-bar {
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
}

.gdp-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1a472a, #27ae60);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Card */
.gdp-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gdp-card h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #1a472a;
}

.gdp-subtitle {
    color: #666;
    margin: 0 0 25px 0;
}

/* Quality Notice */
.gdp-quality-notice {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.gdp-quality-notice strong {
    display: block;
    font-size: 16px;
    color: #1565c0;
    margin-bottom: 10px;
}

.gdp-quality-notice p {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

.gdp-quality-notice ul {
    margin: 0 0 10px 20px;
    padding: 0;
}

.gdp-quality-notice li {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

.gdp-quality-notice em {
    color: #c00;
    font-size: 13px;
}

/* Size Toggle */
.gdp-size-toggle {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.gdp-toggle-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.gdp-toggle-option:hover {
    border-color: #1a472a;
}

.gdp-toggle-option:has(input:checked) {
    background: #f0f7f2;
    border-color: #1a472a;
}

.gdp-toggle-option input {
    margin: 0;
}

/* Disclaimer */
.gdp-disclaimer {
    background: #fff8e6;
    border: 1px solid #ffe4a0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 13px;
}

.gdp-disclaimer h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 15px;
}

.gdp-disclaimer p {
    margin: 0 0 10px 0;
    color: #666;
    line-height: 1.5;
}

.gdp-disclaimer ul {
    margin: 0 0 10px 20px;
    padding: 0;
}

.gdp-disclaimer li {
    margin: 5px 0;
    color: #666;
}

.gdp-disclaimer strong {
    color: #856404;
}

/* Form Elements */
.gdp-form-step {
    display: none;
}

.gdp-form-step.active {
    display: block;
}

.gdp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.gdp-field {
    margin-bottom: 20px;
}

.gdp-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.gdp-field input[type="text"],
.gdp-field input[type="email"],
.gdp-field select,
.gdp-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
}

.gdp-field input:focus,
.gdp-field select:focus,
.gdp-field textarea:focus {
    outline: none;
    border-color: #1a472a;
}

.gdp-field-note {
    font-size: 13px;
    color: #666;
    margin: 5px 0 15px 0;
}

/* Upload Zone */
.gdp-upload-zone {
    border: 3px dashed #ccc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 25px;
    background: #fafafa;
}

.gdp-upload-zone:hover {
    border-color: #1a472a;
    background: #f0f7f2;
}

.gdp-upload-zone.dragover {
    border-color: #27ae60;
    background: #e8f5e9;
}

.gdp-upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.gdp-upload-zone p {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
}

.gdp-upload-zone span {
    font-size: 13px;
    color: #999;
}

.gdp-upload-preview {
    position: relative;
}

.gdp-upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
}

.gdp-remove-upload {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

/* Package Selection */
.gdp-package-selection {
    margin-bottom: 30px;
}

.gdp-package-selection h3,
.gdp-your-details h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
}

.gdp-your-details {
    margin-bottom: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

.gdp-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gdp-package input {
    display: none;
}

.gdp-package-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.gdp-package-card:hover {
    border-color: #1a472a;
}

.gdp-package input:checked + .gdp-package-card {
    border-color: #1a472a;
    background: #f0f7f2;
}

.gdp-package-card strong {
    display: block;
    font-size: 18px;
    margin-bottom: 5px;
}

.gdp-price {
    font-size: 28px;
    font-weight: 700;
    color: #1a472a;
    margin: 10px 0;
}

.gdp-package-card span {
    display: block;
    font-size: 14px;
    color: #666;
}

.gdp-popular,
.gdp-premium-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a472a;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.gdp-premium-badge {
    background: #b8860b;
}

.gdp-premium-features {
    font-size: 12px !important;
    color: #27ae60 !important;
    margin-top: 10px !important;
    line-height: 1.4;
}

/* Options Grid */
.gdp-options-grid {
    display: grid;
    gap: 10px;
}

.gdp-options-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gdp-options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gdp-options-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.gdp-option input {
    display: none;
}

.gdp-option-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
}

.gdp-option-card span {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    font-weight: normal;
}

.gdp-option input:checked + .gdp-option-card {
    border-color: #1a472a;
    background: #f0f7f2;
    color: #1a472a;
}

/* Features Grid */
.gdp-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gdp-feature-group h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: #1a472a;
}

.gdp-feature-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gdp-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.gdp-feature:hover {
    background: #e8f5e9;
}

.gdp-feature input:checked ~ span {
    color: #1a472a;
    font-weight: 600;
}

/* Plants Selector */
.gdp-premium-note {
    background: linear-gradient(135deg, #fff8e6 0%, #fff3cd 100%);
    border: 1px solid #ffe4a0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #856404;
}

.gdp-premium-note strong {
    color: #b8860b;
}

.gdp-plants-selector {
    /* visible by default now */
}

.gdp-plants-categories {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.gdp-plant-category {
    margin-bottom: 20px;
}

.gdp-plant-category:last-child {
    margin-bottom: 0;
}

.gdp-plant-category h4 {
    margin: 0 0 10px 0;
    font-size: 13px;
    text-transform: uppercase;
    color: #1a472a;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.gdp-plant-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gdp-plant-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.gdp-plant-item:hover {
    border-color: #1a472a;
    background: #f0f7f2;
}

.gdp-plant-item:has(input:checked) {
    background: #1a472a;
    border-color: #1a472a;
    color: #fff;
}

.gdp-plant-item input {
    display: none;
}

.gdp-plant-count {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

/* Order Summary */
.gdp-order-summary {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
}

.gdp-order-summary h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
}

.gdp-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.gdp-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 15px 0 0 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a472a;
}

/* Terms */
.gdp-terms {
    margin: 20px 0;
}

.gdp-terms label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.gdp-terms input {
    margin-top: 3px;
}

/* Navigation */
.gdp-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Buttons */
.gdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    background: #e0e0e0;
    color: #333;
    text-decoration: none;
}

.gdp-btn:hover {
    background: #ccc;
}

.gdp-btn-primary {
    background: #1a472a;
    color: #fff;
}

.gdp-btn-primary:hover {
    background: #0d3320;
}

.gdp-btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Secure Notice */
.gdp-secure-notice {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}

/* Error */
.gdp-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c00;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

/* Loading */
.gdp-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.gdp-loading-content {
    text-align: center;
}

.gdp-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e0e0e0;
    border-top-color: #1a472a;
    border-radius: 50%;
    animation: gdp-spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

.gdp-spinner-large {
    width: 70px;
    height: 70px;
    border: 5px solid #e0e0e0;
    border-top-color: #27ae60;
    border-radius: 50%;
    animation: gdp-spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes gdp-spin {
    to { transform: rotate(360deg); }
}

/* Success Message */
.gdp-success-message {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.gdp-success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.gdp-success-message h2 {
    margin: 0 0 15px 0;
    color: #1a472a;
}

.gdp-success-message p {
    color: #555;
    line-height: 1.6;
}

.gdp-note {
    font-size: 14px;
    color: #999;
}

/* Feature Categories - Matches Visualiser */
.feature-category { margin-bottom:20px; padding-bottom:15px; border-bottom:1px solid #eee; }
.category-header { font-size:14px; color:#0d3b59; margin:0 0 12px; padding:8px 12px; background:#f5f5f5; border-radius:4px; }
.feature-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; }
@media (max-width: 600px) { .feature-grid { grid-template-columns:repeat(2, 1fr); } }
.feature-item input { display:none; }
.feature-card { font-size:12px; padding:10px 6px; border:2px solid #ddd; border-radius:6px; text-align:center; cursor:pointer; transition:all 0.2s; }
.feature-card:hover { border-color:#27ae60; }
.feature-item input:checked + .feature-card { border-color:#27ae60; background:#f0fff4; }

/* Success Page Buttons - Side by Side */
.gdp-success-buttons { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.gdp-success-buttons a { display:inline-block; padding:12px 24px; text-decoration:none; border-radius:6px; font-weight:600; }

/* Irregular Shape Calculator */
.gdp-shape-layout {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.gdp-measurements-column {
    flex: 1;
    min-width: 250px;
}

.gdp-preview-column {
    flex: 1;
    min-width: 280px;
}

.gdp-sides-inputs {
    margin-bottom: 15px;
}

.gdp-side-row {
    margin-bottom: 10px;
}

.gdp-side-row.hidden {
    display: none;
}

.gdp-side-row label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0d3b59;
    margin-bottom: 5px;
}

.gdp-side-row input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.gdp-diagonal-input {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}

.gdp-diagonal-input label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0d3b59;
    margin-bottom: 5px;
}

.gdp-diagonal-input input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.gdp-diagonal-input small {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

.gdp-shape-preview {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
}

.gdp-shape-preview h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #0d3b59;
}

.gdp-shape-svg {
    width: 100%;
    max-width: 280px;
    height: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.gdp-preview-note {
    font-size: 13px;
    color: #6c757d;
    margin: 10px 0 0 0;
}

.gdp-preview-area {
    font-size: 16px;
    color: #27ae60;
    font-weight: 700;
    margin: 10px 0 0 0;
}

.gdp-area-display {
    margin-top: 15px;
    padding: 15px;
    background: #f0fff4;
    border: 1px solid #27ae60;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    color: #155724;
}

.gdp-area-display span {
    font-size: 20px;
    font-weight: 700;
    color: #27ae60;
}

@media (max-width: 768px) {
    .gdp-shape-layout {
        flex-direction: column;
    }
    
    .gdp-preview-column {
        order: -1;
    }
}

/* Conditions Grid */
.gdp-conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .gdp-conditions-grid {
        grid-template-columns: 1fr;
    }
}

.gdp-condition-field {
    margin-bottom: 0;
}

.gdp-field-label {
    display: block;
    font-size: 13px;
    color: #0d3b59;
    margin-bottom: 10px;
    font-weight: 600;
}

.gdp-option-grid {
    display: grid;
    gap: 10px;
}

.gdp-option-grid.cols-1 {
    grid-template-columns: 1fr;
}

.gdp-option-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gdp-option-item input {
    display: none;
}

.gdp-option-card {
    padding: 12px 8px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    background: #fff;
}

.gdp-option-card:hover {
    border-color: #27ae60;
}

.gdp-option-item input:checked + .gdp-option-card {
    border-color: #27ae60;
    background: #f0fff4;
}

.gdp-step-header {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    margin: -25px -25px 25px;
}

.gdp-step-header h2 {
    font-size: 20px;
    color: #0d3b59;
    margin: 0 0 8px;
}

.gdp-step-header p {
    color: #3a5a6d;
    margin: 0;
    font-size: 14px;
}

.gdp-info-box {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.gdp-info-box p {
    margin: 0;
    font-size: 13px;
    color: #0d3b59;
}

/* Success Page - Matches Visualiser */
.gdp-success-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 0 20px;
}

.gdp-success-box {
    background: #d4edda;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
}

.gdp-success-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.gdp-success-box h2 {
    color: #155724;
    margin: 0 0 10px;
    font-size: 22px;
}

.gdp-success-main {
    color: #155724;
    margin: 0 0 15px;
    font-size: 16px;
}

.gdp-success-sub {
    color: #155724;
    font-size: 14px;
    margin: 0 0 20px;
}

.gdp-success-divider {
    border-top: 1px solid #c3e6cb;
    margin: 20px 0;
}

.gdp-success-cta-text {
    color: #155724;
    font-size: 14px;
    margin: 0 0 12px;
}

.gdp-success-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.gdp-success-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
}

.gdp-success-btn-green {
    background: #28a745;
    color: #fff;
}

.gdp-success-btn-green:hover {
    background: #218838;
    color: #fff;
}

.gdp-success-btn-blue {
    background: #00395d;
    color: #fff;
}

.gdp-success-btn-blue:hover {
    background: #002d4a;
    color: #fff;
}

.gdp-order-confirmed {
    background: #fff;
    border: 2px solid #27ae60;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.gdp-order-ref {
    margin: 0;
    font-size: 16px;
    color: #155724;
}

.gdp-success-details {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.gdp-success-details h3 {
    margin: 0 0 10px 0;
    color: #155724;
    font-size: 18px;
}

.gdp-success-details p {
    margin: 0 0 15px 0;
    color: #333;
}

.gdp-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.gdp-timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
    color: #666;
}

.gdp-timeline-item.active {
    background: #e8f5e9;
    color: #155724;
    font-weight: 600;
}

.gdp-timeline-icon {
    font-size: 20px;
}

.gdp-email-notice {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.gdp-email-notice h4 {
    margin: 0 0 10px 0;
    color: #1565c0;
    font-size: 16px;
}

.gdp-email-notice p {
    margin: 0;
    color: #1565c0;
}

.gdp-email-tip {
    margin-top: 10px !important;
    font-size: 13px;
    opacity: 0.8;
}

.gdp-premium-notice {
    background: #fff3e0;
    border: 1px solid #ffcc80;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.gdp-premium-notice p {
    margin: 0;
    color: #e65100;
    font-size: 14px;
}

.gdp-support-info {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #c3e6cb;
}

.gdp-support-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.gdp-support-info a {
    color: #155724;
}

/* Visual Plant Selector */
.gdp-selected-bar {
    background: #e8f5e9;
    border: 2px solid #27ae60;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.gdp-selected-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.gdp-selected-header strong {
    color: #155724;
    font-size: 15px;
}

.gdp-clear-btn {
    background: transparent;
    border: 1px solid #27ae60;
    color: #27ae60;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.gdp-clear-btn:hover {
    background: #27ae60;
    color: #fff;
}

.gdp-selected-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gdp-selected-plant {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #27ae60;
    border-radius: 20px;
    padding: 4px 10px 4px 4px;
    font-size: 13px;
}

.gdp-selected-plant img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.gdp-selected-plant .gdp-remove-plant {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    padding: 0 0 0 5px;
    line-height: 1;
}

.gdp-selected-plant .gdp-remove-plant:hover {
    color: #dc3545;
}

.gdp-plants-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.gdp-plants-filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gdp-plants-filter label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.gdp-plants-filter select {
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    min-width: 180px;
}

.gdp-plants-search {
    flex: 1;
    min-width: 200px;
}

.gdp-plants-search input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.gdp-plants-search input:focus,
.gdp-plants-filter select:focus {
    outline: none;
    border-color: #00395d;
}

.gdp-plants-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    min-height: 200px;
}

.gdp-plants-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

.gdp-plant-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}

.gdp-plant-card:hover {
    border-color: #00395d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gdp-plant-card.selected {
    border-color: #27ae60;
    background: #f0fff4;
}

.gdp-plant-card.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #27ae60;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.gdp-plant-card {
    position: relative;
}

.gdp-plant-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: #f5f5f5;
}

.gdp-plant-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #ccc;
}

.gdp-plant-info {
    padding: 10px;
    text-align: center;
}

.gdp-plant-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gdp-plant-height {
    font-size: 11px;
    color: #666;
    margin: 0;
}

.gdp-plants-load-more {
    text-align: center;
    padding: 10px 0;
}

.gdp-no-plants {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .gdp-designer {
        padding: 0 15px;
    }
    
    .gdp-card {
        padding: 20px;
    }
    
    .gdp-progress-steps {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .gdp-step {
        font-size: 11px;
    }
    
    .gdp-form-row {
        grid-template-columns: 1fr;
    }
    
    .gdp-packages {
        grid-template-columns: 1fr;
    }
    
    .gdp-options-grid.cols-3,
    .gdp-options-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gdp-features-grid {
        grid-template-columns: 1fr;
    }
    
    .gdp-plants-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .gdp-plants-controls {
        flex-direction: column;
    }
    
    .gdp-plants-filter select,
    .gdp-plants-search {
        width: 100%;
    }
}

/* ========================================
   NEW PACKAGE CARDS & ELEVATION UPLOADS
   ======================================== */

/* Package Features List */
.gdp-package-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
    text-align: left;
    font-size: 13px;
}

.gdp-package-features li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

.gdp-package-features li:last-child {
    border-bottom: none;
}

.gdp-package-features li strong {
    color: #00395d;
}

/* Complete Package Highlight */
.gdp-package-card.gdp-package-complete {
    border-color: #00395d;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
}

.gdp-package input:checked + .gdp-package-card.gdp-package-complete {
    border-color: #00395d;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f7ff 100%);
    box-shadow: 0 4px 20px rgba(0, 57, 93, 0.2);
}

.gdp-best-value {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00395d 0%, #005a8c 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* 3-column packages */
.gdp-packages.gdp-packages-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .gdp-packages.gdp-packages-3 {
        grid-template-columns: 1fr;
    }
}

/* Elevation Upload Grid */
.gdp-elevation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .gdp-elevation-grid {
        grid-template-columns: 1fr;
    }
}

.gdp-elevation-upload {
    position: relative;
}

.gdp-elevation-zone {
    border: 2px dashed #00395d;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fff;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdp-elevation-zone:hover {
    border-color: #005a8c;
    background: #f8fbff;
}

.gdp-elevation-zone.has-image {
    border-style: solid;
    border-color: #27ae60;
    padding: 10px;
}

.gdp-elevation-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gdp-elevation-icon {
    font-size: 32px;
}

.gdp-elevation-placeholder strong {
    color: #00395d;
    font-size: 15px;
}

.gdp-elevation-placeholder span {
    color: #888;
    font-size: 12px;
}

.gdp-elevation-preview {
    position: relative;
    width: 100%;
}

.gdp-elevation-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.gdp-elevation-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gdp-elevation-remove:hover {
    background: #c0392b;
}

.gdp-elevation-tip {
    margin-top: 20px;
    padding: 15px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    font-size: 13px;
    color: #5d4037;
}

.gdp-elevation-tip strong {
    color: #e65100;
}
