/* ===== ESTILOS GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e8f0f7 0%, #f5f8fa 100%);
    min-height: 100vh;
    padding: 20px;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* ===== HEADER ===== */
.header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #3182ce;
}

.header-title {
    flex: 1;
}

.header-title h1 {
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.header-title p {
    font-size: 1.1em;
    opacity: 0.9;
}

.logo {
    width: 180px;
    height: 110px;
    background: white;
    border: 3px solid #3182ce;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== CONTENT ===== */
.content {
    padding: 50px 40px;
}

/* ===== LINKS ===== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c5282;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #1e3a5f;
    gap: 12px;
}

/* ===== TÍTULOS ===== */
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-title h2 {
    font-size: 1.8em;
    color: #1e3a5f;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.page-title .icon {
    font-size: 1.2em;
    color: #2c5282;
}

.page-title p {
    font-size: 1em;
    color: #718096;
    margin-top: 10px;
}

/* ===== INFO BOX ===== */
.info-box {
    background: #ebf8ff;
    border-left: 4px solid #2c5282;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 40px;
}

.info-box p {
    color: #2c5282;
    font-size: 0.95em;
    line-height: 1.6;
}

/* ===== FORMULÁRIOS ===== */
.form-container {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.form-group label .required {
    color: #e53e3e;
    margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d3748' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[type="date"],
.form-group input[type="tel"] {
    cursor: pointer;
}

/* ===== BOTÕES ===== */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 35px;
}

.btn {
    padding: 14px 40px;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #2c5282 0%, #1e3a5f 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #152a47 100%);
    box-shadow: 0 5px 15px rgba(44, 82, 130, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    background: #f7fafc;
    padding: 20px 40px;
    text-align: center;
    color: #718096;
    border-top: 1px solid #e2e8f0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        border-radius: 0;
    }

    .header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        border-radius: 0;
    }

    .header-title h1 {
        font-size: 1.5em;
    }

    .logo {
        margin-top: 20px;
        width: 160px;
        height: 100px;
    }

    .content {
        padding: 30px 20px;
    }

    .form-container {
        padding: 25px 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}
