body {
    background: #f8fafc;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    body {
        padding: 20px;
        min-height: auto;
    }

    .panel-login {
        margin: 0 8px;
        max-width: none;
    }

    .login-form-section {
        padding: 32px 24px;
    }
}

@media (max-width: 680px) {
    body {
        padding: 12px;
    }

    .login-form-section {
        padding: 24px 16px;
    }
}

.ui-panel {
    border-radius: 16px !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
    backdrop-filter: blur(10px);
}

.ui-panel .ui-panel-content {
    padding: 0 !important;
    width: 100% !important;
    border-radius: 16px !important;
}

.btn-login {
    margin: 16px 0 !important;
    padding: 0.6rem 1.25rem !important;
    background: linear-gradient(135deg, #3b91d1 0%, #1b76bc 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 500 !important;
    font-size: 1em !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(30, 72, 105, 0.3) !important;
    min-height: 40px !important;
}
.btn-login:hover {
    background: linear-gradient(135deg, #1b76bc 0%, #165d95 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(30, 72, 105, 0.4) !important;
}

.btn-cadastrar {
    font-size: 13px !important;
    margin: 8px !important;
    padding: 6px 16px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 6px !important;
    color: white !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(10px) !important;
}

.btn-cadastrar:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-1px) !important;
}

.ui-fluid .ui-inputfield {
    padding: 12px 16px !important;
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.ui-fluid .ui-inputfield:focus {
    background: white !important;
    border: 1px solid #1b76bc !important;
    box-shadow: 0 0 0 3px rgba(27, 118, 188, 0.1) !important;
    outline: none !important;
}

input {
    border-radius: 8px !important;
}

.ui-button {
    border-radius: 8px !important;
}

.ui-selectonemenu {
    background: white !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    width: 100% !important;
}

.ui-selectonemenu:focus-within {
    border: 1px solid #1b76bc !important;
    box-shadow: 0 0 0 3px rgba(27, 118, 188, 0.1) !important;
}

.panel-login {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
}

.ui-g-12 {
    padding: 0 !important;
}

@media(min-width: 991px) {
    .panel-login {
        width: 800px;
        display: flex;
        min-height: 600px;
    }
}

@media(min-width: 1200px) {
    .panel-login {
        width: 900px;
    }
}

@media(max-width: 990px) {
    .panel-login {
        margin: 0 16px;
        max-width: 500px;
    }
}

.panel-solicitar-cadastro{
    display: -webkit-box;
    margin-top: 1%;
    margin-left: 12%;
    margin-right: 12%;
    margin-bottom: 1%;
}

.col-login {
    text-align: left;
    margin-bottom: 20px;
}

.panel-custom {
    display: flex;
    width: 100%;
    min-height: 600px;
}

@media (max-width: 991px) {
    .panel-custom {
        flex-direction: column;
        min-height: auto;
    }
}

.login-form-section {
    flex: 1;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-image-section {
    flex: 1;
    background: linear-gradient(135deg, #00aeef 0%, #144c6b 50%, #1b76bc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 991px) {
    .login-form-section {
        padding: 32px;
    }

    .login-image-section {
        display: none;
    }
}

.logo {
    text-align: center;
    margin-bottom: 32px;
}

.login-image-section .logo {
    margin-bottom: 0;
}

.logo img {
    position: relative;
    animation-duration: 2s;
    animation-fill-mode: forwards;
}

.conteudo {
    width: 100%;
}

.login-title {
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

.header {
    background: none;
    padding: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.login-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
}

.logo-login {
    margin: 16px 0 !important;
}

.logo-login-sgcloud {
    margin: 20px 0;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 10px;
    width: 100%;
    margin-top: 0;
    text-align: center;
}

@media (max-height: 550px) {
    .footer {
        position: relative;
        bottom: 0;
        width: auto;
        margin-top: 2%;
    }
}

@media(max-width: 630px) {
    .logo {
        position: relative;
        float: none;
        margin-top: 0;
        left: 0;
        top: 0;
        text-align: center;
    }

    .panel-custom {
        display: grid;
    }

    .logo {
        padding-left: 0;
    }

    .conteudo {
        float: none;
        width: 100%;
    }
}

.label {
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 8px !important;
    display: block !important;
    font-size: 14px !important;
}

.ui-messages {
    border-radius: 8px !important;
    margin-bottom: 16px !important;
}

@media (max-width: 991px) {
    .logo-login-sgcloud {
        display: none;
    }
    .panel-login {
        margin: 0 24px;
    }
    .col-login {
        margin: 0 16px;
    }
}

@media (max-width: 580px) {
    .panel-login {
        width: 500px;
    }
}

@media (max-width: 480px) {
    .panel-login {
        margin: 0 8px;
        width: 400px;
        max-width: none;
    }

    .login-form-section {
        padding: 24px;
    }

    .login-title {
        font-size: 24px;
    }

    .login-subtitle {
        font-size: 14px;
    }

    .logo img {
        max-width: 150px;
        height: auto;
    }

    .form-group {
        margin-bottom: 16px;
    }
}

@media (max-width: 400px) {
    .panel-login {
        width: 340px;
    }
}

a {
    color: #00aeef !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

a:hover {
    color: #1bade4 !important;
}