@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 20px;
}

.mcm-login-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  width: 100%;
  gap: 60px;
}

/* Left Column: 3D Isometric Multi-Cloud Illustration */
.mcm-illustration-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.mcm-illustration-wrapper img,
.mcm-illustration-wrapper svg {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 30px rgba(11, 99, 206, 0.12));
}

/* Right Column: Clean Modern Login Card */
.mcm-card-wrapper {
  flex: 1;
  max-width: 440px;
  width: 100%;
}

.mcm-login-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07), 0 0 1px 1px rgba(0, 0, 0, 0.04);
}

.mcm-login-header {
  margin-bottom: 28px;
}

.mcm-login-header h1 {
  font-size: 26px;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.5px;
}

.mcm-login-header h1 span.mcm-highlight {
  color: #0B63CE;
}

/* Form Controls */
.mcm-form-group {
  margin-bottom: 20px;
}

.mcm-form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  margin-bottom: 8px;
}

.mcm-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.mcm-input-icon {
  position: absolute;
  left: 14px;
  color: #94A3B8;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.mcm-input-icon svg {
  width: 18px;
  height: 18px;
  stroke: #94A3B8;
}

.mcm-form-input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-size: 14px;
  color: #0F172A;
  font-family: inherit;
  transition: all 0.2s ease;
}

.mcm-form-input:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: #0B63CE;
  box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.12);
}

.mcm-form-input::placeholder {
  color: #94A3B8;
}

/* Password Toggle Icon */
.mcm-password-toggle {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcm-password-toggle:hover {
  color: #475569;
}

/* Links & Help Text */
.mcm-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-size: 13px;
}

.mcm-forgot-link {
  color: #0B63CE;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.mcm-forgot-link:hover {
  text-decoration: underline;
}

/* Action Button */
.mcm-btn-primary {
  width: 100%;
  height: 48px;
  background: #0B63CE;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mcm-btn-primary:hover {
  background: #0284C7;
}

.mcm-btn-primary:active {
  transform: scale(0.99);
}

/* Alerts */
.mcm-alert-error {
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #991B1B;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
}

/* Responsive Scaling */
@media (max-width: 900px) {
  .mcm-login-container {
    flex-direction: column;
    gap: 40px;
  }
  .mcm-illustration-wrapper {
    max-width: 360px;
  }
}
