*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    padding: 12px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.globe-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.logo-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #6f42c1, #e83e8c);
    border-radius: 16px 16px 0 0;
}

.signin-logo-wrapper::after {
    content: '';
    width: 70%;
    position: absolute;
    bottom: 0;
    left: 65px;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #6f42c1, #e83e8c);
    border-radius: 16px 16px 0 0;
}

/* Client Logo Section */
.client-logo-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image-container {
    margin-top: 5px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 123, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logo-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
    border-color: rgba(0, 123, 255, 0.3);
}

.client-logo-img, .signin-logo {
    max-width: 200px;
    max-height: 150px;
}

.client-logo-img, .signin-logo {
    object-fit: contain;
    transition: transform 0.3s ease;
}

.client-logo-img:hover, .signin-logo:hover {
    transform: scale(1.05);
}

/* Client Name Badge */
.client-name-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-name-badge {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    max-width: 120px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-name-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Connector Section */
.connector-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 80px;
    position: relative;
}

.connector-line {
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, #6c757d, #adb5bd);
    border-radius: 2px;
    opacity: 0.6;
}

.connector-icon {
    margin: 0 8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.connector-icon:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 16px rgba(40, 167, 69, 0.4);
}

.connector-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: -1;
}

/* Signin Logo Section */
.signin-logo-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-wrapper {
        max-width: 300px;
        padding: 1rem;
    }

    .client-logo-img, .signin-logo {
        max-width: 100px;
        max-height: 75px;
    }

    .client-name-badge {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        max-width: 100px;
    }
    
    .connector-section {
        flex: 0 0 60px;
    }
    
    .connector-line {
        width: 15px;
    }
    
    .connector-icon {
        width: 28px;
        height: 28px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .logo-wrapper {
        max-width: 250px;
        padding: 0.75rem;
    }
    
    .connector-section {
        flex: 0 0 50px;
    }
    
    .connector-line {
        width: 12px;
    }
}

/* Animation for logo entrance */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-wrapper {
    animation: logoFadeIn 0.6s ease-out;
}

/* Pulse animation for connector icon */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.5);
    }
}

.connector-icon {
    animation: pulse 2s infinite;
}

.lock-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lock-body {
    width: 20px;
    height: 16px;
    background: white;
    border-radius: 3px;
    position: relative;
    margin-top: 6px;
}

.lock-shackle {
    width: 16px;
    height: 12px;
    border: 3px solid white;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.pen-icon {
    width: 8px;
    height: 14px;
    background: #10b981;
    position: absolute;
    bottom: 2px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.logo-text {
    font-size: 32px;
    font-weight: 600;
    color: #1f2937;
}

.logo-text .signin {
    color: #1f2937;
}

.logo-text .ink {
    color: #1f2937;
}

.tabs {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid #e5e7eb;
    justify-content: center;
}

.tab {
    padding: 12px 4px;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-size: 15px;
}

.tab.active {
    color: #7c3aed;
    border-bottom-color: #7c3aed;
}

.tab:hover {
    color: #7c3aed;
}

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

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

input {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background: #f9fafb;
}

input:focus {
    outline: none;
    border-color: #7c3aed;
    background: white;
}

.toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    cursor: pointer;
    accent-color: #7c3aed;
}

.checkbox-label {
    font-size: 14px;
    color: #6b7280;
    cursor: pointer;
}

.forgot-password {
    color: #7c3aed;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

.sign-in-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.sign-in-btn:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #5b21b6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.sign-up-link {
    text-align: center;
    margin-top: 24px;
    color: #6b7280;
    font-size: 14px;
}

.sign-up-link a {
    color: #7c3aed;
    text-decoration: none;
}

.sign-up-link a:hover {
    text-decoration: underline;
}
/* login buttons*/
.btn-social {
  display: block;
  background: hsl(86, 76%, 71%);
  color: white;
  text-decoration: none;
  margin: 10px 0;
  padding: 10px 10px;
  border-radius: 5px;
  position: relative;
  
  &::after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: all .2s ease-in-out;
    box-shadow: inset 0 3px 0 hsla(0, 0, 0, 0), 0 3px 3px hsla(0, 0, 0, .2);
    border-radius: 5px;
  }
  
  &:hover::after {
    background: hsla(0, 0, 0, 0.1);
    box-shadow: inset 0 3px 0 hsla(0, 0, 0, 0.2);
  }
  
}

.btn-social {
  padding-left: 64px;
  position: relative;
  z-index: 2;
}

.btn-social .fab {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 50px;
    height: 100%;
    text-align: center;
    background: hsla(0, 0, 0, 0.1);
    line-height: 3.2;
    border-radius: 5px 0 0 5px;
}

.btn-facebook {
  background-color: hsl(221, 44%, 41%);
}
.btn-twitter {
  background-color: hsl(206, 82%, 63%);
}
.btn-google {
  background-color: hsl(7, 71%, 55%); 
}
.btn-linkedin {
  background-color: hsl(196, 100%, 43%);
}
.btn-microsoft {
  background-color: hsl(196, 100%, 43%);
}



/* Remove these conflicting hover styles */
/* DELETE OR COMMENT OUT THESE LINES:
.btn-social:hover {
    background-color: rgba(0, 0, 0, 0.1) !important;
    color: inherit !important;
}

.btn-google:hover {
    background-color: rgba(219, 68, 55, 0.1) !important;
}

.btn-facebook:hover {
    background-color: rgba(59, 89, 152, 0.1) !important;
}

.btn-twitter:hover {
    background-color: rgba(29, 161, 242, 0.1) !important;
}

.btn-microsoft:hover {
    background-color: rgba(0, 120, 212, 0.1) !important;
}

.btn:hover {
    background-color: initial;
}

.btn:not(.btn-social):hover {
}
*/

/* Replace with these - darker shades of original colors */
.btn-facebook:hover {
    background-color: hsl(221, 44%, 35%) !important; /* Darker blue */
    color:white !important;
}

.btn-twitter:hover {
    background-color: hsl(206, 82%, 55%) !important; /* Darker blue */
    color:white !important;
}

.btn-google:hover {
    background-color: hsl(7, 71%, 45%) !important; /* Darker red */
    color:white !important;
}

.btn-microsoft:hover {
    background-color: hsl(196, 100%, 35%) !important; /* Darker blue */
    color:white !important;
}

/* Keep the existing ::after hover effect but make sure it doesn't override background */
.btn-social:hover::after {
    background: hsla(0, 0, 0, 0.1);
    box-shadow: inset 0 3px 0 hsla(0, 0, 0, 0.2);
}

/* .oauth-client-info {
    
}
.oauth-client-info img {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;

} */