/* Paw Print Memorial Keepsake Styles v2 - Elegant Design */

.pawprint-wrapper {
    max-width: 100%;
}

.pawprint-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.pawprint-header h3 {
    font-size: 1.6rem;
    color: #1e293b;
    font-weight: 600;
}

.pawprint-subtitle {
    color: #64748b;
    margin-top: 8px;
    font-size: 15px;
}

/* Step Progress */
.pawprint-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 16px 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.pp-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #94a3b8;
    font-size: 14px;
    transition: all 0.3s;
}

.pp-step.active {
    color: #667eea;
}

.pp-step.current {
    color: #667eea;
    font-weight: 600;
}

.pp-step-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.pp-step.active .pp-step-num {
    background: #667eea;
    color: white;
}

/* Panels */
.pp-panel {
    display: none;
    animation: ppFadeIn 0.3s ease;
}

.pp-panel.active {
    display: block;
}

@keyframes ppFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pp-panel h4 {
    font-size: 1.25rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Upload Zone */
.pp-upload-zone {
    border: 3px dashed #cbd5e1;
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-upload-zone:hover,
.pp-upload-zone.dragover {
    border-color: #667eea;
    background: #f5f3ff;
}

.pp-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pp-upload-icon {
    font-size: 56px;
    margin-bottom: 8px;
}

.pp-upload-preview {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.pp-upload-preview img {
    max-width: 100%;
    max-height: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.pp-remove-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ef4444;
    color: white;
    border: 3px solid white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
    transition: transform 0.2s;
}

.pp-remove-btn:hover {
    transform: scale(1.1);
}

.pp-success-msg {
    margin-top: 20px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border: 2px solid #10b981;
    border-radius: 10px;
    color: #065f46;
    font-weight: 600;
    text-align: center;
    font-size: 15px;
}

/* Preview Section */
.pp-preview-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.pp-preview-section h4 {
    margin-bottom: 15px;
}

.pp-canvas-wrapper {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #e2e8f0;
}

.pp-canvas-wrapper canvas {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    background: white;
}

/* Navigation Buttons - SINGLE ROW */
.pp-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
    gap: 15px;
}

.pp-btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pp-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
    margin-left: auto;
}

.pp-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.pp-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pp-btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.pp-btn-secondary:hover {
    border-color: #667eea;
    color: #667eea;
    background: #f8fafc;
}

/* Form Sections */
.pp-form-section {
    margin-bottom: 28px;
}

.pp-section-label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 14px;
    font-size: 15px;
}

/* Size Options */
.pp-size-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-size-option {
    cursor: pointer;
}

.pp-size-option input {
    display: none;
}

.pp-size-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    background: white;
    min-width: 110px;
}

.pp-size-option.selected .pp-size-box {
    border-color: #667eea;
    background: #f5f3ff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.pp-size-option:hover .pp-size-box {
    border-color: #a5b4fc;
}

.pp-size-value {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.pp-size-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Color Options */
.pp-color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pp-color-option {
    cursor: pointer;
}

.pp-color-option input {
    display: none;
}

.pp-color-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.2s;
    background: white;
    min-width: 110px;
}

.pp-color-option.selected .pp-color-box {
    border-color: #667eea;
    background: #f5f3ff;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.pp-color-option:hover .pp-color-box {
    border-color: #a5b4fc;
}

.pp-color-preview {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.pp-color-box span:last-child {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
}

/* Quote Options */
.pp-quote-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pp-quote-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}

.pp-quote-option:hover {
    border-color: #c4b5fd;
    background: #faf5ff;
}

.pp-quote-option.selected {
    border-color: #667eea;
    background: #f5f3ff;
}

.pp-quote-option input {
    display: none;
}

.pp-quote-option span {
    font-size: 14px;
    color: #374151;
    font-style: italic;
    line-height: 1.4;
}

/* Form Grid */
.pp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.pp-form-group {
    margin-bottom: 0;
}

.pp-form-group label {
    display: block;
    font-weight: 500;
    color: #475569;
    margin-bottom: 8px;
    font-size: 14px;
}

.pp-input {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s;
    background: white;
}

.pp-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.12);
}

.pp-input::placeholder {
    color: #9ca3af;
}

/* Paw Print Tab Badge */
.pawprint-tab {
    position: relative;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%) !important;
}

.pawprint-tab.active {
    background: linear-gradient(135deg, #e879f9 0%, #c084fc 100%) !important;
    color: white !important;
}

.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .pawprint-steps {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pp-step-text {
        display: none;
    }

    .pp-form-grid {
        grid-template-columns: 1fr;
    }

    .pp-size-options,
    .pp-color-options {
        justify-content: center;
    }

    .pp-size-box,
    .pp-color-box {
        min-width: 90px;
        padding: 14px 20px;
    }

    .pp-nav-buttons {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .pp-btn {
        width: 100%;
        justify-content: center;
    }

    .pp-btn-primary {
        margin-left: 0;
    }

    .new-badge {
        top: -5px;
        right: 2px;
        font-size: 8px;
        padding: 2px 5px;
    }

    .pp-canvas-wrapper {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .pawprint-header h3 {
        font-size: 1.3rem;
    }

    .pp-upload-zone {
        padding: 35px 20px;
        min-height: 180px;
    }

    .pp-upload-icon {
        font-size: 44px;
    }
}
