/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    background-color: #f7f7f7;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Background imitation (for 3D effect) */
.page-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient or image background similar to Wix */
    background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    opacity: 0.15;
    z-index: 1;
}

/* Wix Logo */
.wix-logo-container {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

/* Main Container */
.login-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
}

/* Signup Card */
.signup-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    text-align: center;
}

/* Headings */
.welcome-heading {
    font-size: 32px;
    font-weight: 500;
    color: #161616;
    margin-bottom: 12px;
}

.subtitle {
    font-size: 14px;
    color: #161616;
    margin-bottom: 32px;
}

.subtitle a {
    color: #1a56f0;
    text-decoration: none;
    font-weight: 500;
}

.subtitle a:hover {
    text-decoration: underline;
}

/* Form Styles */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Input Group */
.input-group {
    position: relative;
    width: 100%;
}

.input-group input {
    width: 100%;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    background-color: #fff;
    font-size: 15px;
    color: #161616;
    padding: 12px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-group input::placeholder {
    color: #777;
}

.input-group input:focus {
    outline: none;
    border-color: #1a56f0;
    box-shadow: 0 0 0 1px #1a56f0;
}

/* Sign Up / Log In Button */
.sign-in-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 24px;
    background-color: #1a56f0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: background-color 0.2s ease;
}

.sign-in-btn:hover {
    background-color: #0f40cb;
}

.sign-in-btn:disabled {
    background-color: #8faef7;
    cursor: not-allowed;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 24px 0;
    color: #777;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eaeaea;
}

.divider span {
    padding: 0 16px;
}

/* Social Logins */
.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #eaeaea;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.social-btn:hover {
    background: #f7f7f7;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}

.social-btn img {
    width: 20px;
    height: 20px;
}

.apple-btn i {
    font-size: 22px;
    color: #000;
}

/* Terms Text */
.terms-text {
    font-size: 11px;
    color: #777;
    line-height: 1.5;
}

.terms-text a {
    color: #777;
    text-decoration: underline;
}

/* Error Message */
.error-message {
    color: #d93025;
    font-size: 14px;
    background: #fce8e6;
    padding: 10px;
    border-radius: 6px;
    margin-top: 8px;
    text-align: left;
}
