/* Putul-IT Order Modal Styles */

.pit-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.pit-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pit-modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pit-modal.active .pit-modal-overlay {
    opacity: 1;
}

.pit-modal-box {
    position: relative;
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.pit-modal.active .pit-modal-box {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.pit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.pit-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.pit-modal-close {
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    color: #cbd5e1;
    transition: color 0.2s;
}

.pit-modal-close:hover {
    color: #ffffff;
}

.pit-modal-body {
    padding: 25px;
    overflow-y: auto;
}

.pit-theme-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
}

.pit-thm-title {
    font-weight: 700;
    color: #334155;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pit-thm-title::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
}

.pit-thm-price {
    background: #dbeafe;
    color: #1e3a8a;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 15px;
}

.pit-form-group {
    margin-bottom: 20px;
}

.pit-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
}

.pit-form-group input,
.pit-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background: #ffffff;
    transition: all 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.pit-form-group input:focus,
.pit-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.pit-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2), 0 2px 4px -1px rgba(16, 185, 129, 0.1);
}

.pit-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.15);
}

.pit-submit-btn:active {
    transform: translateY(0);
}

.pit-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: pit-spin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pit-submit-btn.loading .pit-btn-text {
    display: none;
}
.pit-submit-btn.loading .pit-spinner {
    display: block;
}

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

.pit-form-msg {
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}
.pit-form-msg.error {
    color: #ef4444;
}
.pit-form-msg.success {
    color: #10b981;
}
