/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Container */
.container {
    width: 90%;
    max-width: 600px;
    margin: 40px auto;
}

header {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    padding: 40px 0;
    text-align: center;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

header h1 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}


/* Card do formulário */
.card {
    background-color: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Mensagens de erro / sucesso */
.message {
    font-size: 16px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.message.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

.message.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}


/* Formulário */
form div {
    margin-bottom: 15px;
}

form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #2c3e50;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"],
form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus,
form select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52,152,219,0.3);
    outline: none;
}

/* Botão */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.btn-register {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    background: linear-gradient(135deg, #5b0db5, #1d66e2);
}


/* Responsividade */
@media (max-width: 480px) {
    .container {
        width: 95%;
        margin: 20px auto;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .card {
        padding: 20px 15px;
    }
}

/* Placeholder estilizado */
input::placeholder {
    color: #aaa;
    font-style: italic;
}

.upload-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Poppins", sans-serif;
}

.upload-label {
    font-weight: 600;
    color: #333;
}

.upload-preview {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fafafa;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.upload-preview:hover {
    border-color: #4a90e2;
    transform: scale(1.03);
}

.upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upload-button {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: fit-content;
}

.upload-button:hover {
    background-color: #357ABD;
}

.google-btn {
    display: inline-block;
    background: #4285F4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}
.google-btn:hover {
    background: #357ae8;
}
