/* painel/public/css/main.css */
/* Main Styles */
body {
    background-color: #f5f7fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: #2d3748;
}

/* Password Input Group */
.input-group-password {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-group-password .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    flex: 1;
}

.input-group-password .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.375rem 0.75rem;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.input-group-password .btn:hover {
    background-color: #e2e6ea;
    border-color: #dae0e5;
}

/* Password Validation */
.password-requirement {
    display: flex;
    align-items: center;
    margin: 4px 0;
    font-size: 0.85rem;
    color: #6c757d;
}

.password-requirement i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.password-requirement.valid {
    color: #198754;
}

.password-requirement.valid i {
    color: #198754;
}

#passwordHelp {
    margin-top: 8px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 0.85rem;
}

#password-strength {
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-weak {
    background-color: #dc3545 !important;
}

.strength-medium {
    background-color: #fd7e14 !important;
}

.strength-strong {
    background-color: #198754 !important;
}

/* Content Area */
.content-area {
    padding: 2.5rem;
    background-color: #f8fafc;
    min-height: 100vh;
    padding-top: 70px;
}

@media (min-width: 768px) {
    .content-area {
        padding-top: 2.5rem;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    margin-bottom: 24px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: #fff;
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Status Badges */
.status-badge {
    font-size: 0.75rem;
    padding: 4px 8px;
}

/* Buttons */
.btn-toggle {
    min-width: 80px;
}

/* Preview Images */
.preview-image {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.overlay.show {
    display: block;
}
