* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00FF00; /* Verde da logo */
    --secondary-color: #000000; /* Preto da logo */
    --bg-color: #121212; /* Fundo escuro para destacar a marca */
    --card-bg: #ffffff;
    --text-color: #202124;
    --border-color: #dadce0;
}

body {
    background-color: var(--bg-color);
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    color: var(--text-color);
}

.form-container {
    width: 100%;
    max-width: 640px;
}

/* Header Section */
.form-header {
    background-color: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    text-align: center;
}

.header-border {
    height: 10px;
    background-color: var(--primary-color);
    width: 100%;
    position: absolute;
    top: 0;
}

.logo-section {
    padding-top: 30px;
    padding-bottom: 10px;
}

.form-logo {
    max-width: 200px;
    height: auto;
	border-radius: 10px;
	overflow: hidden;
}

.form-header h1 {
    padding: 12px 24px 24px 24px;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--secondary-color);
}

/* Form Sections (Cards) */
.form-section {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease;
}

.form-section:focus-within {
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.2);
}

.form-section label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary-color);
}

.required {
    color: #d93025;
}

.input-description {
    font-size: 12px;
    color: #70757a;
    margin-bottom: 8px;
}

.input-footer {
    font-size: 12px;
    color: #70757a;
    margin-top: 8px;
}

/* Inputs and Selects */
input[type="text"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-color);
    background-color: transparent;
    outline: none;
    transition: border-bottom 0.2s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
select:focus {
    border-bottom: 2px solid var(--primary-color);
}

input::placeholder {
    color: #70757a;
}

/* Buttons */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding: 0 4px;
}

.btn-submit {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-clear {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px;
    text-decoration: underline;
}

.btn-clear:hover {
    color: #ffffff;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .form-header h1 {
        font-size: 20px;
    }
    
    .form-section {
        padding: 16px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .btn-submit {
        width: 100%;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 33, 36, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.modal-box {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.modal-box p {
    font-size: 16px;
    line-height: 1.5;
    color: #202124;
    margin-bottom: 20px;
}

.modal-box .btn-submit {
    width: 100%;
}