* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(#585555, rgb(29, 20, 71)) no-repeat center center fixed;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: 20px auto;
    max-width: 600px;
    height: auto;
    padding: 30px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h1 {
    text-align: center;
    margin-bottom: 20px;
}

.container .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.senha-box {
    margin: 10px auto;
    width: 100%;
}

.senha-box input {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-right: 10px;
    padding: 10px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100%;
    max-width: 100%;
    height: 40px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    background-color: #4C6A92;
    color: white;
    transition: all 0.3s ease;
    font-size: 16px;
}

button:hover {
    background-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    padding: 10px;
    width: 100%;
    max-width: 300px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    user-select: none;
}

.checkbox-item:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: translateX(4px);
}

.checkbox-item input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background: #f0f0f0;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-item input:checked~.checkmark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.checkbox-item input:checked~.checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    animation: checkmark-pop 0.3s ease forwards;
}

@keyframes checkmark-pop {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

.checkbox-item label {
    margin: 0;
    font-size: 16px;
    color: #374151;
    font-weight: 500;
}

.checkbox-item input:focus~.checkmark {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.checkbox-item input:disabled~.checkmark {
    background: #f3f4f6;
    border-color: #d1d5db;
    cursor: not-allowed;
}

.checkbox-item input:disabled~label {
    color: #9ca3af;
    cursor: not-allowed;
}


@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    .senha-box input,
    button {
        width: 100%;
        max-width: 100%;
    }

    .checkbox-group {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container h1 {
        font-size: 22px;
    }

    .checkbox-item label {
        font-size: 14px;
    }

    .checkmark {
        width: 18px;
        height: 18px;
        margin-right: 10px;
    }

    button {
        font-size: 14px;
        height: 38px;
    }

    .senha-box input {
        font-size: 14px;
    }
}