﻿/* wwwroot/css/form-styles.css */

/* General page styling */
body {
    
    color: #ccc;
    font-family: Arial, sans-serif;
  
}

form {
    max-width: 800px;
    width: 100%;
    margin: auto;
    padding: 2em;
    background-color: #444;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

div {
    margin-bottom: 1.5em;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.5em;
    color: #ccc;
}

input, select, button {
    width: 100%;
    padding: 0.5em;
    font-size: 1em;
    background-color: #333;
    color: #ccc;
    border: none;
    border-bottom: 2px solid #555;
    outline: none;
}

    input::placeholder {
        color: #999;
    }

    input:focus, select:focus {
        border-bottom: 2px solid #FFB74D; /* Goldish color */
    }
    input:invalid {
        border-bottom: 2px solid #005932; /* Goldish color */
    }

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/*button {
    background-color: #444;
    border: none;
    cursor: pointer;
    padding: 1em;
    color: #555;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 1em;
    margin:auto;
}*/

    /*button:hover {
        background-color: #005932;
    }*/


button {
    padding: 0.5em 1em;
    background-color: transparent;
    color: #ccc;
    border: none;
    /*border-bottom: 2px solid #555;*/
    cursor: pointer;
    font-size: 1em;
}

    button:focus {
        outline: none;
        border-bottom: 2px solid #FFB74D; /* Goldish color on focus */
    }

    
/* Form header styling */
h3 {
    text-align: center;
    color: white; /* Goldish color */
    margin-bottom: 1em;
}

/* Additional styles for improved aesthetics */
.container {
    padding: 2em;
}
.btn-saving {
    background-color: #444;
    color: #ccc;
    margin: auto;
    border: none;
}




.input-group
.search-bar {
    width: 50px; /* Decreased width */
    background-color: #444;
    color: lightgrey;
    font-size: 20px;
    border: none;
    outline: none;
    border-bottom: 3px solid #555; /* Default bottom border */
    border-radius: 4px 0 0 4px;
    padding: 10px;
    font-family: "Font Awesome 5 Free", Arial, sans-serif;
    font-weight: 400;
    transition: background-color 0.3s, border-color 0.3s; /* Smooth transition for background and border color */
    padding-left: 40px;
}

.search-bar:focus {
    /* border: none; /* Remove all borders on focus */
    border-bottom: 2px solid #B69E67; /* Goldish color bottom border on focus */
    background-color: #444;
    color: lightgrey;
    outline: none; /* Remove focus outline */
}

.search-bar::placeholder {
    color: lightgrey;
    font-family: "Font Awesome 5 Free", Arial, sans-serif;
    font-weight: 400; /* Ensure proper font weight */
}


.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-button {
    height: 40px; /* Match the height of the input */
    background-color: #444;
    border: none;
    padding: 10px;
    color: lightgrey; /* Icon color */
    margin-left: -4px; /* Overlap to remove gap between input and button */
    border-radius: 0 4px 4px 0; /* Rounded corners for right side */
    cursor: pointer;
}

    .search-button:focus {
        outline: none; /* Remove focus outline */
        border: none; /* Ensure no border on focus */
    }

    .search-button i {
        color: lightgrey; /* Icon color */
    }

.input-group .fa-search {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: lightgrey; /* Icon color */
}

.btn-plus {
    color: lightgray;
    background-color: #006747;
    margin-left: 20px;
}

.top-controls {
    display: flex;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 10px;
    padding: 20px;
}

.user-card {
    background-color: #444;
    border-radius: 8px;
    font-weight: 600;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header,
.card-body,
.card-footer {
    margin-bottom: -10px;
}

.card-header {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .card-header i,
    .card-body i {
        color: #B69E67; /* Goldish color for icons */
    }

    .card-header .card-title {
        font-size: 25px;
        font-weight: 450;
        margin: 0;
    }

    .card-header .card-date {
        font-size: 15px;
        display: flex;
        color: lightgray;
        align-items: center;
        font-weight: 200;
    }

.card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
    font-weight: 200;
}

    .card-body .card-text {
        margin: 0;
    }

    .card-body .card-date {
        display: flex;
        align-items: center;
        gap: 5px;
    }

.card-footer {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.btn-gold {
    background-color: #B69E67; /* Goldish color */
    color: black;
    border: none; /* Remove border */
    width: 100px;
    height: 45px;
    border-radius: 4px;
    text-align: center;
}

.modal {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #555;
    color: white;
    font-size: 20px;
}

.text-danger {
    width: 35px;
    font-size: 45px;
    border-radius: 8px;
}

.modal-header {
    background-color: #006747;
    font-weight: 600;
}

    .modal-header h5 {
        font-weight: 450;
        font-size: 30px;
    }

.btn-No {
    background-color: #333;
    width: 80px;
    color: white;
}

.btn-Yes {
    background-color: #B69E67;
    width: 80px;
    color: white;
}
