.register-form {
    min-width: 5rem;
    max-width: 25rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #FBEAEB;
    border-radius: 10px;
    margin: 0 auto;
}
.register-form h2,
.register-form h3 {
    margin: 0 0 10px;
}
.register-form button {
    background: #CB3030;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}
.register-form button:hover {
    background: #982425;
}

.time-balance-red {
    color: #ff0000;
    font-weight: bold;
}

.time-balance-green {
    color: #00aa00;
    font-weight: bold;
}


/* Container principal */
.register-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Bloco por dia */
.register-day {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.register-day h3 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.register-day ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.register-day li {
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.register-day li span {
    font-weight: bold;
    color: #2c3e50;
}

.register-message {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    max-width: 500px;
    margin: 2rem auto;
}

/* Formulário de solicitação */
.register-request {
    background: white;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.register-field {
    margin-bottom: 1rem;
}

.register-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.register-field input[type="date"],
.register-field input[type="time"],
.register-field textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.register-field textarea {
    min-height: 100px;
    resize: vertical;
}

.register-button {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.register-button:hover {
    background: #3e8e41;
}

.register-alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.register-alert.success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

/* Modal */
/* Cabeçalho do dia */
.register-day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Botão de três pontos */
.register-options {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
    padding: 0 0.5rem;
    margin-left: 0.5rem;
}

.register-options:hover {
    color: #333;
}

/* Modal (mantém o mesmo CSS anterior) */
.register-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.register-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    position: relative;
}

.register-modal-close {
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    cursor: pointer;
}

.register-modal-close:hover {
    color: #333;
}

/* Estilo para o dashboard de ponto */
.register-dashboard .tab-content {
    padding: 20px 0;
}

.register-dashboard table.register-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.register-dashboard table.register-table th,
.register-dashboard table.register-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.register-dashboard table.register-tabela th {
    background-color: #f1f1f1;
}

.register-dashboard table.register-table tr:nth-child(even) {
    background-color: #fafafa;
}

.register-dashboard .nav-tab-wrapper {
    margin-bottom: 0;
}

.register-dashboard .nav-tab {
    font-size: 16px;
}

.register-dashboard h2 {
    margin-top: 30px;
}

.link-container {
    text-align: center;
    margin: 20px 0;
}

.styled-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    background-color: #CB3030;
    padding: 8px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.styled-link:hover {
    background-color: #982425;
}