body {
    background-image: url('Background1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#title 
{
    font-size: 40px;
    width: 100%;
    margin: 2% 5%;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    color: #FFFFFF;
}

#loginDiv
{
    font-size: 30px;
    width: 70%;
    margin-left: 15%;
    padding: 25px;
    background-color: white;
}

#registerDiv
{
    font-size: 30px;
    width: 70%;
    margin-left: 15%;
    padding: 25px;
    background-color: white;
}

#loggedInDiv
{
    font-size: 30px;
    width: 70%;
    margin-left: 15%;
    padding: 25px;
    background-color: #b2b2b2;
}

#accessUIDiv,

 .modal-content { 
    background-color: white !important; 
    background: white !important; 
    padding: 30px !important; 
    border-radius: 20px !important; 
    max-width: 750px !important; 
    margin: 40px auto !important; 
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important; 
    display: block !important;
}



.buttons { 
    font-size: 24px !important; 
    border-radius: 25px !important; 
    width: auto !important;
    min-width: 180px !important;
    max-width: 250px !important;
    margin: 15px auto !important; 
    font-family: 'Ubuntu', sans-serif; 
    display: block !important;
    white-space: nowrap !important;
    padding: 10px 20px !important;
} 

.buttons:hover { 
    background-color: #00d5124f; 
    color: #FFFFFF; 
    opacity: 0.5; 
}

#loginName
{
	font-size: 30px;
}
#loginPassword
{
	font-size: 30px;
}

#registerName
{
	font-size: 30px;
}
#registerPassword
{
	font-size: 30px;
}
#registerFirst
{
	font-size: 30px;
}
#registerLast
{
	font-size: 30px;
}
#searchText
{
	font-size: 30px;
}
#colorText
{
	font-size: 30px;
}


#inner-title{
    display: inline-block;
    font-size: 0.8em;
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-bottom: 2%;
    font-family: 'Ubuntu', sans-serif;
    color: #95060a;
}

#loginResult{
    display: inline-block;
    font-size: 0.8em;
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-bottom: 2%;
    font-family: 'Ubuntu', sans-serif;
    color: #95060a;
}

#userName{
    display: inline-block;
    width: 80%;
    margin-left: 10%;
    text-align: center;
}

#logoutButton{
    width: 20%;
    margin-left: 40%;
}

select{
    width: 30%;
    margin-left: 35%;
    margin-top: 2%;
    font-size: 0.75em;
    font-family: 'Ubuntu', sans-serif;
}

#colorSearchResult{
    display: none;
}

#colorAddResult{
    display: inline-block;
    font-size: 0.8em;
    width: 90%;
    text-align: center;
    margin-left: 5%;
    margin-top: 2%;
    margin-bottom: 1%;
    font-family: 'Ubuntu', sans-serif;
    color: #95060a;
}

.modal
{
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}

.modal-content

/* Fixes modal buttons to display side-by-side nicely */
.modal-content .buttons {
    display: inline-block;
    width: auto;
    min-width: 100px;
    margin: 10px 5px;
}

/* Input boxes to be identical sized */
.form-input {
    display: block;       
    width: 85% !important; 
    max-width: 280px;      
    font-size: 16px;       
    padding: 8px 12px;     
    margin: 10px auto;    
    box-sizing: border-box;
    border-radius: 20px;   
    border: 1px solid #ccc;
}




/* Match the inputs */
.buttons {
    display: block;
    width: 60%;
    max-width: 180px;
    margin: 12px auto;
    padding: 8px 16px;
    white-space: nowrap;   /* text on one line */
    border-radius: 20px;
}

#addContactButton {
    white-space: nowrap !important; /* Fixes "Add Contact" text wrapping */
    padding: 10px 24px !important;
    width: auto !important;
    min-width: 160px !important;
}

/* Center title */
.inner-title {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}
#contactTable {
    width: 100% !important;
    margin-top: 15px !important;
    margin-bottom: 25px !important;
    border-collapse: collapse !important;
    color: #333333 !important;      /* Changes text from black/transparent to dark grey */
}

#contactTable th, 
#contactTable td {
    padding: 10px !important;
    text-align: left !important;
    color: #333333 !important;      /* Ensures table data is dark and readable */
}
