/* Stylesheet for the application */

h1 {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
}

.logo-index {
    width: 650px; /* Slightly smaller */
    height: auto; /* Maintain aspect ratio */
}


.index-container {
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap if needed */
    align-items: center; /* Aligns items vertically */
    justify-content: flex-start; /* Keeps the other buttons on the left */
    gap: 10px; /* Adds spacing between elements */
    width: 99%;
}


.order-table{
    border-collapse: collapse; /* Vi laver border imellem hvert felt senere, og derfor vil der komme dobbelt nogle steder hvis denne ikke er væk */
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 400px;
}

.order-table td, .order-table th{
    border: 1px solid #ddd;
    padding: 10px;
}

.order-table tr:nth-child(even){ /*  hver anden række grå*/
    background-color: #CCF7EF;
}

body {
    background-color: white;
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #643483;
}

.background-color {
    background-color: #643483;
}


.generic-form{
    max-width: 2000px;
    display: flex;
    flex-direction: column;
    gap: 10px;

}
.generic-form [type=text], .generic-form [type=email], [type=password] {
    padding: 10px;
    font-size: 1.2rem;
    border: #c3c0d6;
    color: black;
    border: none;
}

.generic-form button {
    font-size: 1.2rem;
    padding: 10px;
    border-radius: 5px;
    background-color: #ecaf55;
    color: white;
    border: #c3c0d6;
    border: none;
}

.rounded-btn {
    border: none;
    background-color: #ecaf55;
    color: white;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;

}

.checkout-container {
    margin-left: auto; /* Pushes the checkout button to the right */
}

.rounded-btn-checkout {
    border: none;
    background-color: #ecaf55;
    color: white;
    padding: 8px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
}


.index-grey-box {
    background-color: #D8BFD8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.index-grey-box2 {
    background-color: #D8BFD8;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 50vh;
    width: 100%;
}


 /* Style The Dropdown Button */
 .dropbtn {
     background-color: grey;
     color: white;
     padding: 16px;
     font-size: 16px;
     border: none;
     cursor: pointer;
 }

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/*** Customer page styles ****/

.customer-table{
    border-collapse: collapse; /* Vi laver border imellem hvert felt senere, og derfor vil der komme dobbelt nogle steder hvis denne ikke er væk */
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 20px;
    min-width: 400px;
}

.customer-table td, .customer-table th{
    border: 1px solid #ddd;
    padding: 10px;
}

.customer-table tr:nth-child(even){ /*  hver anden række grå*/
    background-color: #CCF7EF;
}

.logo-box {
    width: 30%;
    height: 200px;
    border: 5px dashed #f7a239;
}

.logo-img {
    width: 100%; /* takes the 100 % width of its container (.box div)*/
    height: 100%; /* takes the 100 % height of its container (.box div)*/
}

.footer-side {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
}

.footer div{
    display: flex;
}

.dropdown select {
    background-color: #ecaf55;
    color: white;
    padding: 8px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

/* Style labels */
.dropdown label {
    font-weight: bold;
    color: black;
    display: block;
    margin-bottom: 5px;
}
