.signin-wrapper {
  width: 100%;
  max-width: 450px;
  margin: 60px auto;
}

.signin-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

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

.signin-logo {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.signin-title h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 8px;
}

.signin-title p {
  font-size: 14px;
  color: #4a5568;
  margin: 0;
}

/* Social Buttons Container */
.social-buttons {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-buttons form {
  width: 100%;
}

/* Base Social Button Styles - Split Design */
.social-btn {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  overflow: hidden;
  background: transparent;
  padding: 0;
}

.social-btn:disabled {
  cursor: not-allowed;
}

/* Logo Section (Left) - White Background */
.social-btn-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 12px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  transition: background-color 0.3s ease;
}

.social-btn-logo svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Text Section (Right) - Blue Background */
.social-btn-text {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

/* Google & Microsoft Active Buttons */
.btn-google .social-btn-text,
.btn-microsoft .social-btn-text {
  background: #5248f9;
}

.btn-google:hover .social-btn-text,
.btn-microsoft:hover .social-btn-text {
  background: #4239d0;
}

.btn-google:hover,
.btn-microsoft:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(82, 72, 249, 0.35);
}

.btn-google:hover .social-btn-logo,
.btn-microsoft:hover .social-btn-logo {
  background: #f8f9fa;
}

.btn-google:active,
.btn-microsoft:active {
  transform: translateY(0);
}

/* Okta Disabled State */
.btn-okta:disabled .social-btn-text {
  background: #b8b5e0;
  color: #ffffff;
}

.btn-okta:disabled .social-btn-logo {
  opacity: 0.6;
}

.btn-okta:disabled {
  border-color: rgba(0, 0, 0, 0.05);
}

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

.btn-okta:disabled:hover .social-btn-logo {
  background: #ffffff;
}

.divider {
  position: relative;
  text-align: center;
  margin: 28px 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.divider span {
  position: relative;
  display: inline-block;
  padding: 0 16px;
  background: #ffffff;
  color: #4a5568;
  font-size: 13px;
  font-weight: 500;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.form-control {
  display: block;
  width: 100%;
  height: 44px;
  padding: 11px 14px;
  font-size: 15px;
  line-height: 1.5;
  color: #2d3748;
  background-color: #fff;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  box-sizing: border-box;
}

.form-control:focus {
  color: #2d3748;
  background-color: #fff;
  border-color: #667eea;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
  color: #a0aec0;
}

.btn-signin {
  display: block;
  width: 100%;
  height: 44px;
  padding: 11px 16px;
  margin-top: 24px;
  background: #5248f9;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-signin:hover {
  transform: translateY(-1px);
  background: #4239d0;
  box-shadow: 0 6px 20px rgba(82, 72, 249, 0.4);
}

.btn-signin:active {
  transform: translateY(0);
  background: #3a2fb8;
}

@media (max-width: 576px) {
  .signin-card {
    padding: 32px 24px;
  }

  .signin-wrapper {
    margin: 30px auto;
  }

  .signin-logo {
    max-width: 180px;
  }

  .social-btn-text {
    padding: 10px 16px;
    font-size: 14px;
  }

  .social-btn-logo {
    padding: 8px 10px;
  }

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