/* Reset default margins and padding */
 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
            font-family: Arial, Helvetica, sans-serif;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            padding: 0px;
}

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

h1, h3 {
    text-align: center;
    margin-bottom: 20px;
}

/* Form styles */
.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group div {
    flex: 1 1 300px;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input, .form-group select {
    width: 80%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-group button:hover {
    background-color: #0056b3;
}

.btn-secondary {
    padding: 10px;
    border-radius: 4px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
}

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

/* Table styles */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

th {
    background-color: #f4f4f4;
}

th a {
    color: #007bff;
    text-decoration: none;
}

th a:hover {
    text-decoration: underline;
}

td form {
    display: inline;
}

td .btn-warning {
    padding: 10px;
    border-radius: 4px;
    background-color: #00c000;
    color: #ffffff;
    text-decoration: none;
}

td .btn-warning:hover {
    background-color: #008000;
}

td .btn-danger {
    background-color: #dc3545;
    color: white;
}

td .btn-danger:hover {
    background-color: #c82333;
}

/* Alert styles */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    position: relative;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Member selection list */
.list-group {
    list-style: none;
}

.list-group li {
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 5px;
    background-color: #fff;
}

.list-group li a {
    text-decoration: none;
    color: #007bff;
}

.list-group li a:hover {
    text-decoration: underline;
}

/* Login page */
.login-container {
    margin:auto;
    max-width: 100%;
    width: 320px;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0px;
}

.login-card {
    max-width: 400px;
    width: 100%;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}




	.wrapper{
		margin: 0px;
		width:100%;
		max-width: 100%;
	}
	.calwrap{
	
	    max-width: 800px;
            margin: 0 auto;
            padding: 20px;
	}	

	.ctext{
		text-align: center;
	}
	
	.summdiv{
	
		margin:auto;
		width:300px;
		max-width:100%;
	}
        .calendar-container {
            margin: 20px 0;
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .calendar {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }

        .day {
            padding: 10px;
            text-align: center;
            cursor: pointer;
            border: 1px solid #ddd;
            border-radius: 4px;
        }

        .day:hover:not(.disabled) {
            background-color: #f0f0f0;
        }

        .disabled {
            background-color: #f5f5f5;
            color: #999;
            cursor: not-allowed;
        }

        .selected {
            background-color: #007bff;
            color: white;
        }

        .weekday {
            text-align: center;
            padding: 5px;
            font-weight: bold;
        }

        .dropdown-container, .form-container {
            margin: 15px 0;
        }

        select, input[type="text"], input[type="email"], input[type="tel"] {
            padding: 8px;
            font-size: 16px;
            margin-top: 5px;
            width: 200px;
            font-family: Arial, Helvetica, sans-serif;
        }

        input[type="submit"] {
            padding: 10px 20px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #0056b3;
        }

        .message {
            margin: 10px 0;
            padding: 10px;
            border-radius: 4px;
        }

        .success {
            background-color: #d4edda;
            color: #155724;
        }

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

        @media (max-width: 600px) {
            .calendar {
                grid-template-columns: repeat(7, 1fr);
            }
            
            .day {
                padding: 8px;
                font-size: 14px;
            }
            
            select, input[type="text"], input[type="email"], input[type="tel"] {
                width: 100%;
            }
        }
