* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    height: 100vh;
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    color: #667eea;
    font-size: 28px;
    margin-bottom: 5px;
}

.logo p {
    color: #888;
    font-size: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

button {
   
    padding: 14px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #5568d3;
}

.btn-secondary {
    background: #6c757d;
    margin-top: 10px;
}

.btn-secondary:hover {
    background: #5a6268;
}



.customer-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.customer-info h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.info-warning{
    margin-top: 20px; 
    background: #F0AD4E; 
    color: #fff !important;
}

.info-warning p{
    color: #fff;
    font-weight: 600;
}

.info-success{
    margin-top: 20px; 
    background: #008000; 
    color: #fff !important;
    font-weight: 600;
}

.info-success p{
    color: #fff !important;
    font-weight: 600;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
}

.error {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

.success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.logout-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.logout-btn:hover {
    background: #c82333;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border: 2px solid #333;
}

.stats-table th {
    background: #667eea;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    border: 1px solid #333;
}

.stats-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #333;
}

.stats-table tr:nth-child(even) {
    background: #f8f9fa;
}

.table-header {
    background: #e9ecef;
    font-weight: 600;
}

.date-range {
    text-align: center;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.refresh-btn {
    background: #28a745;
    padding: 10px 20px;
    width: auto;
    margin-bottom: 20px;
}

.refresh-btn:hover {
    background: #218838;
}

#checkSmsArea{display: none;}
#newRefForm{display: none;}

select option {
    padding: 10px;
}