* {
    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%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: background 0.3s;
}

.tab-btn.active {
    background: white;
    color: #667eea;
}

.auth-form {
    background: white;
    padding: 30px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.auth-form h2 {
    margin-bottom: 20px;
    color: #333;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

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

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-header h2 {
    color: #333;
}

.dashboard-content {
    display: grid;
    gap: 20px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h3 {
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.license-item, .key-item, .payment-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
}

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

.license-summary h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
}

.license-summary p {
    margin: 8px 0;
    font-size: 16px;
}

.license-item.expired {
    border-left-color: #dc3545;
    opacity: 0.7;
}

.license-item.active {
    border-left-color: #28a745;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

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

.pricing-table th {
    background: #667eea;
    color: white;
}

.pricing-table tr:hover {
    background: #f8f9fa;
}

.message-box {
    position: fixed;
    top: 20px;
    right: 20px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 1000;
}

.message-box.success {
    background: #28a745;
    color: white;
}

.message-box.error {
    background: #dc3545;
    color: white;
}

.message-box.show {
    display: block;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.no-license-message {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px dashed #667eea;
}

.no-license-message h4 {
    color: #667eea;
    font-size: 1.5em;
    margin-bottom: 15px;
}

.no-license-message p {
    color: #555;
    margin: 10px 0;
    line-height: 1.6;
}

.no-license-message ol {
    background: white;
    padding: 20px 40px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.no-license-message ol li {
    margin: 12px 0;
    color: #333;
    line-height: 1.8;
}

.no-license-message ul {
    margin-top: 8px;
    list-style-type: disc;
}

.no-license-message ul li {
    margin: 6px 0;
    color: #666;
}

.no-license-message strong {
    color: #667eea;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 15px;
    }

    .auth-form {
        padding: 20px;
    }
}


/* Admin Button Styling */
#admin-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

#admin-btn:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.6);
    transform: translateY(-2px);
}
