/* Note Shop Page Styles */

.shop-intro {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6;
}

.shop-intro .note-symbol {
    color: #00d4ff;
    font-weight: 600;
}

/* Shop Form */
.shop-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 28px;
}

.form-section-title {
    font-size: 14px;
    color: #00d4ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* Form Fields */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 2px solid #3d3d3d;
    border-radius: 8px;
    color: #fff;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255,255,255,0.08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #555;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' fill='none' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-select option {
    background: #2a2a2a;
    color: #fff;
}

.form-textarea {
    min-height: 80px;
    resize: vertical;
}

.form-hint {
    font-weight: 400;
    color: #666;
    font-size: 11px;
}

/* Date/Time/Timezone row */
.datetime-row {
    display: flex;
    gap: 8px;
}

.datetime-row .datetime-date {
    flex: 2;
}

.datetime-row .datetime-hour {
    flex: 1;
    min-width: 100px;
}

.datetime-row .datetime-tz {
    flex: 1.5;
    min-width: 140px;
}

.datetime-preview {
    font-size: 13px;
    color: #00d4ff;
    margin-top: 6px;
    min-height: 18px;
}

@media (max-width: 600px) {
    .datetime-row {
        flex-direction: column;
    }
}

/* Package Cards Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

.package-card {
    background: linear-gradient(145deg, #3d3d3d 0%, #2a2a2a 100%);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.package-card:hover {
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.15);
}

.package-card.selected {
    border-color: #00d4ff;
    background: linear-gradient(145deg, #00d4ff20 0%, #0099cc20 100%);
}

.package-card .package-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.package-card .package-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.package-card .package-price {
    font-size: 13px;
    color: #00d4ff;
}

/* Add-on Checkboxes */
.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.addon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(145deg, #3d3d3d 0%, #2a2a2a 100%);
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.addon-item:hover {
    border-color: #3d3d3d;
}

.addon-item.checked {
    border-color: #00d4ff;
    background: linear-gradient(145deg, #00d4ff15 0%, #0099cc15 100%);
}

.addon-item.disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.addon-item input[type="checkbox"] {
    display: none;
}

.addon-check {
    width: 20px;
    height: 20px;
    border: 2px solid #555;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    color: transparent;
    font-size: 14px;
}

.addon-item.checked .addon-check {
    border-color: #00d4ff;
    background: #00d4ff;
    color: #000;
}

.addon-info {
    flex: 1;
}

.addon-name {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.addon-price {
    font-size: 12px;
    color: #00d4ff;
    margin-top: 2px;
}

/* Total Display */
.total-section {
    background: linear-gradient(145deg, #1a1a1a 0%, #222 100%);
    border: 2px solid #3d3d3d;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin: 28px 0;
}

.total-label {
    font-size: 14px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.total-amount {
    font-size: 36px;
    font-weight: 700;
    color: #00d4ff;
}

.total-discount {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

/* Submit Button */
.submit-btn {
    display: block;
    width: 100%;
    padding: 16px;
    background: linear-gradient(145deg, #00d4ff 0%, #0099cc 100%);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Confirmation */
.confirmation-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.confirmation-overlay.visible {
    display: flex;
}

.confirmation-box {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 2px solid #00d4ff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.confirmation-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.confirmation-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.confirmation-text {
    font-size: 14px;
    color: #888;
    line-height: 1.5;
}

.confirmation-close {
    margin-top: 24px;
    padding: 10px 30px;
    background: transparent;
    border: 2px solid #00d4ff;
    border-radius: 8px;
    color: #00d4ff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confirmation-close:hover {
    background: #00d4ff;
    color: #000;
}

/* Error message */
.form-error {
    color: #ff4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.form-error.visible {
    display: block;
}
