/* Create Memorial Page Styles */
.create-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 5%;
}

.create-header {
    text-align: center;
    margin-bottom: 3rem;
}

.create-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.tier-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-top: 1rem;
    font-weight: 600;
}

.step-section {
    display: none;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--border);
}

.step-section.active {
    display: block;
}

.step-section h2 {
    margin-bottom: 0.5rem;
    text-align: left;
}

.step-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Upload Zone */
.upload-zone {
    border: 3px dashed var(--border);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 2rem;
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.upload-zone.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.upload-icon {
    width: 64px;
    height: 64px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.upload-limit {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Uploaded Photos Grid */
.uploaded-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.photo-remove:hover {
    background: var(--accent);
}

/* Form Styles */
.details-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.field-help {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input[type="file"] {
    padding: 0.5rem 0;
}

/* Preview Section */
.preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.preview-video {
    background: var(--bg-dark);
    aspect-ratio: 16/9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border);
}

.memorial-summary {
    background: var(--bg-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--border);
}

.memorial-summary h3 {
    margin-bottom: 1rem;
}

.summary-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-label {
    font-weight: 600;
    color: var(--text-muted);
    display: block;
    font-size: 0.9rem;
}

.summary-value {
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Checkout Section */
.checkout-section {
    background: var(--bg-dark);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border);
    margin-bottom: 2rem;
}

.price-summary h3 {
    margin-bottom: 1rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-top: 2px solid var(--border);
    font-size: 1.2rem;
}

.price-line .price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Button Spacing */
.step-section button {
    margin-right: 1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .preview-container {
        grid-template-columns: 1fr;
    }
    
    .uploaded-photos {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}
