/* Base app styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.h-100 {
    height: 100%;
}

.w-100 {
    width: 100%;
}

/* Material Icons sizing */
.material-icons {
    font-size: 20px;
    vertical-align: middle;
}

.material-icons.mat-icon-sm {
    font-size: 18px;
}

/* Form field styling to match Angular Material */
.input-group-text {
    background-color: white;
    border-right: none;
    color: #757575;
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-color: #ced4da;
    box-shadow: none;
}

.input-group:focus-within .input-group-text {
    border-color: #3f51b5;
}

.input-group:focus-within .form-control {
    border-color: #3f51b5;
}

/* Primary button styling - indigo theme */
.btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
    border-radius: 4px;
    padding: 10px 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

.btn-primary:hover {
    background-color: #303f9f;
    border-color: #303f9f;
    box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
}

.btn-primary:focus {
    background-color: #3f51b5;
    border-color: #3f51b5;
    box-shadow: 0 0 0 0.2rem rgba(63, 81, 181, 0.5);
}

.btn-primary:disabled {
    background-color: #9fa8da;
    border-color: #9fa8da;
}

/* Alert styling */
.alert-danger {
    background-color: #ffebee;
    border-color: #ffcdd2;
    color: #c62828;
}

/* Form select styling */
.form-select {
    border-radius: 4px;
}

.form-select:focus {
    border-color: #3f51b5;
    box-shadow: 0 0 0 0.2rem rgba(63, 81, 181, 0.25);
}

/* Checkbox styling */
.form-check-input:checked {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

/* Link styling */
a {
    color: #3f51b5;
    text-decoration: none;
}

a:hover {
    color: #303f9f;
    text-decoration: underline;
}

/* Spinner */
.spinner-border {
    width: 1.5rem;
    height: 1.5rem;
}
