/* cricplay – page 04 login replica */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.cricplay-page {
  margin: 0;
  min-height: 100vh;
  background: #000000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e0e0e0;
  -webkit-font-smoothing: antialiased;
}

.cricplay-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cricplay-card {
  width: 376px;
  height: 425px;
  background: #000000;
  border: 1px solid #ff7f00;
  border-radius: 12px;
  padding: 24px 32px 40px;
  text-align: center;
  box-sizing: border-box;
}

.cricplay-logo {
  margin: 0 0 18px;
  line-height: 0;
}

.cricplay-logo-img {
  display: block;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  vertical-align: middle;
}

.cricplay-message {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.cricplay-message--success {
  background: rgba(102, 204, 51, 0.15);
  color: #8ade5c;
  border: 1px solid rgba(102, 204, 51, 0.4);
}

.cricplay-message--error {
  background: rgba(220, 53, 69, 0.15);
  color: #f5a0a8;
  border: 1px solid rgba(220, 53, 69, 0.4);
}

.cricplay-form {
  text-align: left;
}

.cricplay-field {
  margin-bottom: 20px;
}

.cricplay-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #e0e0e0;
}

.cricplay-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: border-color 0.2s;
}

.cricplay-input-wrap:focus-within {
  border-bottom-color: #ff7f00;
}

.cricplay-input-icon {
  flex-shrink: 0;
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cricplay-input-wrap:focus-within .cricplay-input-icon {
  color: #ff7f00;
}

.cricplay-input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  font-size: 1rem;
  color: #fff;
  background: transparent;
  border: none;
  outline: none;
}

.cricplay-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cricplay-toggle-pwd {
  flex-shrink: 0;
  margin-left: 8px;
  padding: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cricplay-toggle-pwd:hover {
  color: #ff7f00;
}

.cricplay-remember {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  gap: 10px;
}

.cricplay-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #ff7f00;
  cursor: pointer;
}

.cricplay-remember-label {
  font-size: 0.9rem;
  color: #e0e0e0;
  cursor: pointer;
  user-select: none;
}

.cricplay-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: #ff7f00;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.cricplay-btn:hover {
  background: #e67300;
}

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

.cricplay-guest {
  margin: 24px 0 0;
  font-size: 0.95rem;
}

.cricplay-guest-link {
  color: #ff7f00;
  text-decoration: none;
  font-weight: 500;
}

.cricplay-guest-link:hover {
  text-decoration: underline;
}
