/* Garment Pro CRM - Frontend Styles */
.gcrm-customer-portal {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.gcrm-portal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.gcrm-portal-section {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.gcrm-orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gcrm-order-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 6px;
    border-left: 4px solid #667eea;
}

/* ==========================================================================
   Shortcode Form Styles
   ========================================================================== */

.gcrm-quote-form-container,
.gcrm-vendor-registration,
.gcrm-mockup-editor {
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2 px 8px rgba(0,0,0,0.1);
}

.gcrm-form {
    margin-top: 20px;
}

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

@media (max-width: 768px) {
    .gcrm-form-row {
        grid-template-columns: 1fr;
    }
}

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

.gcrm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.gcrm-form-group input[type="text"],
.gcrm-form-group input[type="email"],
.gcrm-form-group input[type="tel"],
.gcrm-form-group input[type="number"],
.gcrm-form-group input[type="date"],
.gcrm-form-group input[type="url"],
.gcrm-form-group select,
.gcrm-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.gcrm-form-group input:focus,
.gcrm-form-group select:focus,
.gcrm-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.gcrm-form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

/* Button Styles */
.gcrm-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.gcrm-btn-primary {
    background: #667eea;
    color: #fff;
}

.gcrm-btn-primary:hover {
    background: #5568d3;
}

.gcrm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Message Styles */
.gcrm-message {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    font-size: 14px;
}

.gcrm-message.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.gcrm-message.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Table Styles */
.gcrm-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.gcrm-table thead {
    background: #f8f9fa;
}

.gcrm-table th,
.gcrm-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

.gcrm-table th {
    font-weight: 600;
    color: #333;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: #d1ecf1;
    color: #0c5460;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Login Required */
.gcrm-login-required {
    padding: 30px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 4px;
}

.gcrm-login-required a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.gcrm-login-required a:hover {
    text-decoration: underline;
}
