* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    min-height: 100vh;
}

/* Login Page Styles */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f5f5f5;
}

.login-card {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    border: 1px solid #ddd;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h1 {
    color: #2c3e50;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c3e50;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #1a252f;
}

.btn-help {
    background: none;
    border: none;
    color: #2c3e50;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 15px;
    display: block;
    width: 100%;
    text-align: center;
}

/* Custom Dialog */
.custom-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.custom-dialog.active {
    display: flex;
}

.dialog-content {
    background: white;
    border-radius: 4px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
}

.dialog-content h3 {
    color: #c0392b;
    margin-bottom: 15px;
    font-size: 18px;
}

.dialog-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-close {
    padding: 10px 30px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-close:hover {
    background: #1a252f;
}

/* Home Page Styles */
.home-container {
    min-height: 100vh;
    background: #f5f5f5;
}

.header {
    background: #2c3e50;
    color: white;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1a252f;
}

.header-left h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-text {
    font-size: 14px;
    margin: 0;
}

.notification-btn,
.logout-btn {
    background: #34495e;
    border: 1px solid #4a5f70;
    color: white;
    padding: 8px 15px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notification-btn:hover,
.logout-btn:hover {
    background: #4a5f70;
}

.notification-badge {
    background: #c0392b;
    color: white;
    border-radius: 2px;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-content {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.action-card {
    background: white;
    border-radius: 4px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
    border: 1px solid #ddd;
}

.action-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-color: #2c3e50;
}

.action-card h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 600;
}

.action-card p {
    color: #666;
    font-size: 13px;
}

.action-card i {
    font-size: 36px;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Request Form Styles */
.request-container {
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.request-header {
    background: #2c3e50;
    color: white;
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #1a252f;
}

.request-header h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.request-form {
    background: white;
    border-radius: 4px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.platform-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.platform-card {
    background: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.platform-card:hover {
    border-color: #2c3e50;
    background: white;
}

.platform-card.selected {
    border-color: #2c3e50;
    background: #e8ecef;
}

.platform-card h4 {
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 5px;
    font-weight: 600;
}

.platform-card .price {
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
}

/* Table Styles */
.table-container {
    background: white;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
    border: 1px solid #ddd;
}

.table-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

table th {
    background: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    font-size: 13px;
}

table td {
    color: #666;
    font-size: 13px;
}

table tr:hover {
    background: #f5f5f5;
}

/* Profile Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
}

.profile-header {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 30px;
    border: 1px solid #1a252f;
}

.profile-header h2 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.profile-header p {
    font-size: 14px;
    opacity: 0.9;
}

.profile-content {
    background: white;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item label {
    color: #666;
    font-size: 13px;
    font-weight: 600;
}

.profile-item span {
    color: #2c3e50;
    font-size: 13px;
}

/* Confirmation Dialog */
.confirm-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.confirm-dialog.active {
    display: flex;
}

.confirm-content {
    background: white;
    border-radius: 4px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 1px solid #ddd;
}

.confirm-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.confirm-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.confirm-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-confirm {
    padding: 10px 30px;
    background: #c0392b;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-confirm:hover {
    background: #a93226;
}

.btn-cancel {
    padding: 10px 30px;
    background: #95a5a6;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-cancel:hover {
    background: #7f8c8d;
}

/* Preview Dialog */
.preview-content {
    max-width: 500px;
    text-align: left;
}

.preview-content h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.preview-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item label {
    color: #666;
    font-size: 13px;
    font-weight: 600;
}

.preview-item span {
    color: #2c3e50;
    font-size: 13px;
    text-align: right;
}

.preview-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.btn-submit {
    padding: 10px 30px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-submit:hover {
    background: #229954;
}

.btn-edit {
    padding: 10px 30px;
    background: #f39c12;
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-edit:hover {
    background: #e67e22;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-right {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .platform-cards {
        grid-template-columns: 1fr;
    }
}
