/* =========================================================
   MODAL OVERLAY
========================================================= */
.modal-proprietario{
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

/* =========================================================
   MODAL CONTAINER (MAIS HORIZONTAL)
========================================================= */
.modal-proprietario-content{
    background: #fff;
    width: 780px;              /* MAIS LARGO */
    max-width: 95%;
    max-height: 85vh;          /* nunca ultrapassa o ecrã */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn .3s ease;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* =========================================================
   HEADER
========================================================= */
.modal-proprietario-header{
    background: var(--header-bg);
    padding: 14px 20px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-proprietario-header h3{
    margin: 0;
    font-size: 20px;
}

.modal-proprietario-close{
    font-size: 26px;
    cursor: pointer;
    transition: .3s;
}

.modal-proprietario-close:hover{
    color: var(--button-bg-main);
}

/* =========================================================
   BODY (SCROLL INTERNO)
========================================================= */
.modal-proprietario-body{
    padding: 22px;
    overflow-y: auto;
    max-height: calc(85vh - 70px);
}

/* =========================================================
   CAMPOS DE FORMULÁRIO
========================================================= */
.authentication-form-wrapper{
    margin-bottom: 18px;
}

.authentication-input{
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-size: 14px;
    transition: .3s;
}

.authentication-input:focus{
    border-color: var(--button-bg-main);
    outline: none;
}

/* =========================================================
   MENSAGENS DE ERRO POR CAMPO
========================================================= */
.error-field{
    color: #e60023;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

/* =========================================================
   ANIMAÇÃO SHAKE
========================================================= */
.shake{
    animation: shake .3s ease;
}

@keyframes shake{
    0%{ transform: translateX(0); }
    25%{ transform: translateX(-4px); }
    50%{ transform: translateX(4px); }
    75%{ transform: translateX(-4px); }
    100%{ transform: translateX(0); }
}

/* =========================================================
   UPLOAD HINT
========================================================= */
.upload-hint{
    font-size: 12px;
    color: var(--text-color);
    margin-top: 5px;
}

/* =========================================================
   BOTÃO
========================================================= */
.btn-btn1{
    background: var(--button-bg-one);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    transition: .3s;
}

.btn-btn1:hover{
    background: var(--button-bg-btn1-hover);
}

/* =========================================================
   ANIMAÇÃO DE ENTRADA DO MODAL
========================================================= */
@keyframes modalFadeIn{
    from{ transform: translateY(-20px); opacity: 0; }
    to{ transform: translateY(0); opacity: 1; }
}
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.modal-proprietario.closing {
    animation: fadeOut .3s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
