/* style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* General styles for buttons */
button,
a.edit-link {
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Style for login form */
.login-form {
    width: 300px;
    margin: 100px auto;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Style for the "Add Customer" form */
.add-customer-form {
    width: 100%;
    /* padding: 20px; */
    border: 0px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column; /* Display elements in a column */
        gap: 20px; /* Add some spacing between the elements */
}

.add-customer-fields {
	flex: 1; /* Distribute available space equally between the divs */
}

.add-customer-logo-submit {
	flex: 1; /* Distribute available space equally between the divs */
    }

.add-customer-form h2 {
    text-align: center;
}

.add-customer-form form {
    display: flex;
    
}

.add-customer-form label {
    margin-bottom: 10px;
}

.add-customer-form input[type="text"],
.add-customer-form input[type="file"] {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.add-customer-form button {
    padding: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* New CSS for Responsive Layout */

.edit_customer_form-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    max-width: 1000px;
}

.customer-section {
	width: 100%;
    padding: 10px;
    box-sizing: border-box;
	display: flex;
    flex-wrap: wrap;
}


.access-cards-section,
.logo-section,
.buttons-container {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.edit_customer_form-container {
    width: 100%;
    border: 1px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.customer-details {
    min-width: 300px;
	flex: 1;
}

/* Set a minimum width for logo section to avoid overlapping when window is too narrow */
.logo-section {
    min-width: 300px;
	flex: 1;
    
}

.customer-logo {
max-width: 100;

}

.access-cards-section {
    display: flex;
    flex-direction: column; /* Change flex-direction to column */
}

.access-card {
    width: 60%; /* Set a fixed width to ensure consistent spacing */
    margin-bottom: 20px;
    padding: 10px;
    border: 2px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.create-new-card-button {
    text-align: left;
	width: 60%; /* Set a fixed width to ensure consistent spacing */
    margin-bottom: 20px;
    padding: 10px;
    border: 2px solid #ccc;
    background-color: #f8f8f8;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.buttons-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

/* For smaller screens, make access cards section full width and center the cards */
@media screen and (max-width: 768px) {
    .access-cards-section {
        justify-content: center;
    }

    .access-card {
        width: 100%;
    }
}




















table.customer-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table.customer-table th,
table.customer-table td {
    border: 1px solid #ccc;
    padding: 10px;
}

table.customer-table th {
    background-color: #f2f2f2;
}

/* Style for "Edit" link */
a.edit-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #27ae60;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

a.edit-link:hover {
    background-color: #1e8449;
}

/* Go Back Button */
button#go-back-btn {
    background-color: #e67e22;
}

button#go-back-btn:hover {
    background-color: #d35400;
}
