/* Interview Coder Custom Styles */

/* General */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Cards */
.card {
    border-radius: 0.5rem;
    border: none;
    margin-bottom: 1.5rem;
}

.card-header {
    border-radius: calc(0.5rem - 1px) calc(0.5rem - 1px) 0 0 !important;
    border-bottom: none;
}

.card-header h4, .card-header h5 {
    font-weight: 600;
}

.card .shadow {
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05) !important;
}

/* Buttons */
.btn {
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.btn-primary {
    background-color: #3f51b5;
    border-color: #3f51b5;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #303f9f;
    border-color: #303f9f;
}

/* Navbar */
.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-weight: 700;
}

/* Avatar */
.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.avatar-initials {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Credit Display */
.credit-display {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.credit-display .display-4 {
    font-weight: 700;
    color: #3f51b5;
}

/* Forms */
.form-control, .input-group-text {
    border-radius: 0.25rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(63, 81, 181, 0.25);
    border-color: #3f51b5;
}

/* Footer */
.footer {
    border-top: 1px solid #dee2e6;
}

/* Custom colors */
.bg-primary {
    background-color: #3f51b5 !important;
}

.text-primary {
    color: #3f51b5 !important;
}

a {
    color: #3f51b5;
    text-decoration: none;
}

a:hover {
    color: #303f9f;
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
    .credit-display {
        margin-bottom: 1.5rem;
    }
}