/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
	background-color: orchid;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
	background-repeat: repeat-x;
	transition: opacity 0.5s ease-in-out;
    background: #CB3066;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #16BFFD, #CB3066);
    background: linear-gradient(to right, #16BFFD, #CB3066);
}

/* Page Layout */
.page {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Header Section */
.header {
    background-color: orchid;
    text-align: center;
    background: #F09819;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #EDDE5D, #F09819);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #EDDE5D, #F09819); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}

.header .logo img {
    max-width: 110px;
}

/* Middle Section (Login Form) */
.middle {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-box {
    background-color: #eed;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.input-field {
    width: 100%;
    padding: 12px;
    margin: 20px 0;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    transition: border 0.3s ease;
}

.input-field:focus {
    border-color: #007BFF;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #007BFF;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Footer Section */
.footer {
   background: #3CA55C;  /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #B5AC49, #3CA55C);  /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #B5AC49, #3CA55C); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    text-align: center;
    padding: 20px;
}

.footer h2 {
    font-size: 18px;
    color: #557;
}

/* Copyright Section */
.copyright {
    text-align: center;
    font-size: 14px;
    
    margin-top: 20px;
}