/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    display: flex;
    min-height: 100vh;
}

/* Dashboard Container */
.dashboard-container {
    display: flex;
    width: 100%;
    height: 100vh; /* Ensures full height layout */
    overflow: hidden;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: #2c3e50;
    color: #ecf0f1;
    height: 100%;
    position: fixed; /* Fix sidebar to the left */
    top: 0;
    left: 0;
    overflow-y: auto; /* Scroll sidebar if content exceeds height */
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure it stays above other content */
}

.sidebar-header {
    padding: 20px;
    text-align: center;
    background-color: #34495e;
}

.sidebar-header h2 {
    margin: 0;
    font-size: 22px;
    color: #ecf0f1;
}

.menu {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.menu li {
    margin: 0;
    padding: 0;
}

.menu a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #ecf0f1;
    font-size: 16px;
    border-bottom: 1px solid #34495e;
    transition: background-color 0.3s;
}

.menu a:hover, .menu a.active {
    background-color: #1abc9c;
    color: white;
}

/* Main Content */
.main-content {
    margin-left: 250px; /* Space for sidebar */
    padding: 40px;
    flex-grow: 1;
    background-color: #ecf0f1;
    overflow-y: auto; /* Scrollable content */
    min-height: 100vh; /* Ensure full viewport height */
    box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }
}


/* Payment Form Styling */
.payment-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.payment-form-container h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #2c3e50;
    text-align: center;
}

.payment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.payment-form .form-group {
    display: flex;
    flex-direction: column;
}

.payment-form .form-group label {
    font-size: 14px;
    color: #34495e;
    margin-bottom: 5px;
    font-weight: bold;
}

.payment-form .form-group input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

.payment-form .form-group.full-width {
    grid-column: span 2; /* Make certain fields span both columns */
}

.payment-form button {
    grid-column: span 2;
    padding: 12px;
    background: #1abc9c;
    border: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-align: center;
}

.payment-form button:hover {
    background: #16a085;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-form {
        grid-template-columns: 1fr; /* Single column for smaller screens */
    }

    .payment-form button {
        grid-column: span 1; /* Full width button on small screens */
    }
}