
/* Ensures all cards have equal height */
.card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 15px;
}

.card-body {
    flex-grow: 1;
}

.card-time_display {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
}

.card-footer {
    background-color: #f8f9fa;
    /* Light background color for footer */
    border-top: 1px solid #ddd;
    font-size: 0.8rem;
    white-space: nowrap;
}

.card-footer i {
    margin-right: 5px;
}

.card-footer a {
    color: inherit;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Makes the whole card clickable */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    /* Inherits text color from card */
    height: 100%;
    /* Ensures the link takes up the whole card */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
}


.errorlist li{
    color: red;
    font-size: 14px;
    margin-top: 1px;
}


.body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
}

.form-container {
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: auto;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);

}

.registration-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.form-title {
    color: #2A3F7D;
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.25);
}

.form-label {
    font-weight: 500;
    color: #333;
}

.invalid-feedback {
    font-size: 0.875rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    text-align: left;
    margin-bottom: 0.25rem;
}


.form-fields {
    flex: 2;
    /* Roughly 2/3 of the width */
}

.photo-section {
    flex: 1;
    /* Roughly 1/3 of the width */
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    text-align: left;
    margin-bottom: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-control-file {
    width: 100%;
    padding: 0.5rem 0;
}
.photo-container {
    margin-bottom: 1rem;
}

.profile-photo {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.photo-placeholder {
    width: 100%;
    height: 150px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 8px;
}

.upload-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}
.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button-wrapper {
    text-align: center;
    /* Optional: center the button */
}

.fixed-width-button {
    width: 120px;
    padding: 10px;
    text-align: center;
}


