/* Common Styles */
:root {
    --primary-font: Poppins, sans-serif;
    --primary-color: hsl(155, 99%, 32%);
    --secondary-color: hsl(144, 16%, 39%);
    --third-color: hsl(240, 100%, 50%);
    --red-color: hsl(4, 80%, 56%);
    --title-color: hsl(158, 100%, 9%,1);
--dark-color: hsl(160, 100%, 10%);
--yellow-color: hsl(60, 100%, 50%);
--white: #fff;
--black: #000;
--gray-color: hsl(180, 9%, 76%);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 70%);
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
    margin-bottom: 20px;
}

.card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 528px;
    text-align: center;
}

.logo {
    margin-bottom: 0px!important;
    font-size: 24px;
    font-weight: 500;
    color: var(--title-color);
}
.logo h1{
    font-size: 32px;
}

.icon-inside {
    width: 28px;
    /* height: 28px; */
    margin-left: -8px;
}

.description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border-radius: 50px;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #004D40;
    color: white;
    opacity: 1;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #004D40;
    color: #004D40;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Welcome Page Specific */
.trial-link {
    margin-top: 20px;
    color: #004D40;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.trial-link:hover {
    text-decoration: underline;
}

.arrow {
    transition: transform 0.3s ease;
}

.trial-link:hover .arrow {
    transform: translateX(5px);
}

/* Login Type Page Specific */
.account-types {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
}

.account-box {
    flex: 1;
    padding: 20px;
    border: 4px solid #E0E0E0;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
}

.account-box:hover, .account-box.selected {
    border-color: #00A86B;
    background-color: rgba(0, 168, 107, 0.05);
    border: 4px solid #00A86B;
}

.account-icon {
    margin-bottom: 15px;
}

.account-icon img {
    width: 64px;
    height: 64px;
}

.account-box h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.signup-link {
    margin-top: 20px;
    color: #666;
}

.signup-link a {
    color: #00A86B;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* Add these to your existing CSS */
.account-box.selected {
    border-color: #00A86B;
    background-color: rgba(0, 168, 107, 0.05);
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    box-shadow: none;
    transform: none;
}

/* Login Form Styles */
.login-form {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 0px;
    width: 100%;
}

.form-input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px!important;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #00A86B;
    box-shadow: 0 0 0 2px rgba(0, 168, 107, 0.1);
}

.password-input-group {
    position: relative;
    width: 100%;
}

.password-input-group .form-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    user-select: none;
    font-size: 20px;
    margin-top: -2px;
}

.forgot-password {
    text-align: center;
    margin: 15px 0 20px;
}

.forgot-password a {
    color: #004D40;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.forgot-password a:hover {
    text-decoration: underline;
    color: #00A86B;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 12px;
    margin-top: -10px;
    margin-bottom: 10px;
    display: block;
}

/* Forgot Password Styles */
.forgot-title {
    font-size: 32px;
    color: #004D40;
    text-align: center;
}


.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 10px;
    text-align: center;
}

.alert-success {
    background-color: rgba(0, 168, 107, 0.1);
    color: #00A86B;
    border: 1px solid #00A86B;
}

.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Update existing form styles */
.form-input::placeholder {
    color: #999;
}

.form-input:focus::placeholder {
    color: #666;
}

.btn-primary {
    margin-top: 10px;
}

/* Reset Password Styles */
.reset-title {
    font-size: 24px;
    color: #004D40;
    margin: 20px 0;
    text-align: center;
    line-height: 1.3;
}

.form-group + .form-group {
    margin-top: 15px;
}

.form-input[type="password"] {
    letter-spacing: 0.1em;
}

/* Password visibility checkbox styles */
.show-password-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #004D40;
    font-size: 14px;
    cursor: pointer;
}

.show-password-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Update button styles */
.btn-primary:disabled {
    background-color: #004D40;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Add or update these styles */
.show-password-container {
    margin: 15px 0;
}

.checkbox-container {
    display: none;
}

.btn-primary:hover {
    background-color: #00695C;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    font-size: 16px;
    margin-bottom: 15px;
}

.form-input:focus {
    outline: none;
    border-color: #00A86B;
}

.reset-title {
    font-size: 24px;
    color: #004D40;
    margin: 20px 0;
    text-align: center;
}

.description {
    color: #666;
    text-align: center;
    margin-bottom: 30px;
}

/* OTP Input Styles */
.otp-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.otp-input {
    width: 50px;
    height: 50px;
    border: 1px solid #E0E0E0;
    border-radius: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    color: #004D40;
}

.otp-input:focus {
    outline: none;
    border-color: #00A86B;
}

.resend-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.resend-link, .support-link {
    color: #004D40;
    text-decoration: underline;
    font-size: 14px;
}

.separator {
    color: #666;
    font-size: 14px;
}

.text-center {
    text-align: center;
}

/* Add these styles */
.resend-link {
    color: #004D40;
    text-decoration: underline;
    font-size: 14px;
    padding: 0;
    font-family: inherit;
}

.resend-link:hover {
    color: #00695C;
}

.cancel-link {
    color: #004D40;
    text-decoration: underline;
    font-size: 14px;
    padding: 0;
    font-family: inherit;
}

.cancel-link:hover {
    color: #00695C;
}

/* Login Type Page Background Shape */
body.bg-shape {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #00A86B;
}

body.bg-shape::after {
    content: "";
    position: absolute;
    top: -300px;
    left: -10%;
    max-width: 700px;
    height: 700px;
    flex-shrink: 0;
    background-image: url("../images/icon/body-bg.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    width: 100%;
}

body.bg-shape::before {
    content: "";
    position: fixed;
    bottom: -300px;
    right: -10%;
    max-width: 700px;
    width: 100%;
    height: 700px;
    flex-shrink: 0;
    background-image: url("../images/icon/body-bg.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
}

/* Login Card Styles */
.login-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.login-type-btn {
    transition: transform 0.3s ease;
}

.login-type-btn:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    body.bg-shape::after,
    body.bg-shape::before {
        max-width: 500px;
        height: 500px;
    }
}

@media (max-width: 480px) {
    body.bg-shape::after,
    body.bg-shape::before {
        max-width: 300px;
        height: 300px;
    }
}

/* Password Input Styles */
.input-group {
    width: 100%;
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    flex: 1 1 auto;
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn-outline-secondary {
    border-left: none;
    padding: 0.75rem 1rem;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-color: #ced4da;
    background: #fff;
}

.input-group .btn-outline-secondary:hover {
    background-color: #f8f9fa;
    color: #00A86B;
    border-color: #ced4da;
}

.input-group .btn-outline-secondary:focus {
    box-shadow: none;
    border-color: #ced4da;
}

.input-group .form-control:focus + .btn-outline-secondary {
    border-color: #00A86B;
}

.input-group .form-control:focus {
    border-right: none;
    box-shadow: -0.2rem 0 0.2rem rgba(0, 168, 107, 0.25);
}

.input-group .fas {
    width: 20px;
    text-align: center;
    color: #6c757d;
}
