:host {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
.header {
  background-color: #d3e9f7;
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.siss-logo {
  height: 60px;
}

.sacg-container {
  display: flex;
  flex-direction: column;
}

.sacg-title {
  display: flex;
  align-items: center;
  font-size: 2.5rem;
  font-weight: bold;
  color: #0a2847;
  position: relative;
}

.version-badge {
  background-color: #0088cc;
  color: white;
  border-radius: 50%;
  padding: 0.1rem 0.4rem;
  font-size: 0.8rem;
  position: absolute;
  top: 0;
  right: -1.5rem;
}

.sacg-subtitle {
  font-size: 1.2rem;
  color: #0a2847;
}

/* Main Content Styles */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
  position: relative;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(240, 240, 240, 0.7);
}

.login-container {
  position: relative;
  z-index: 10;
}

.login-box {
  width: 360px;
  max-width: 100%;
}

.login-card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.login-header {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.login-header h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: normal;
  color: #666;
}

.login-card form {
  padding: 1.5rem;
}

.p-inputgroup-addon {
  background-color: #f0f0f0;
  border-color: #ced4da;
}

.login-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.p-button-primary {
  background-color: #0088cc;
  border-color: #0088cc;
}

.password-recovery {
  padding: 0 1.5rem 1.5rem;
  text-align: left;
}

.password-recovery a {
  color: #0088cc;
  text-decoration: none;
  font-size: 0.9rem;
}

.password-recovery a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
}

.login-page-custom {
  -ms-flex-align: center !important; 
  align-items: center !important;
  background-color: #e9ecef !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  height: calc(100vh - 250px) !important;
  -ms-flex-pack: center !important;
  justify-content: center !important;
}

.header-container {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.water-drop {
  position: absolute;
  height: 45px;
  width: auto;
  top: 30%;
  left: 47%;
  transform: translateY(-50%);
  z-index: 2;
}

.text-drop {
  color: #fff;
  position: absolute;
  width: auto;
  top: 33%;
  left: 47.3%;
  transform: translateY(-50%);
  z-index: 2;
}

.header-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #002147;
  text-align: center;
  padding: 0px;
  box-sizing: border-box;
}

.main-title {
  margin-top: 0px;
  margin-right: 250px;
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.sub-title {
  font-size: 1.8rem;
  margin-bottom: 60px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  transform: translate(-4%);
}

.header-image {
  position: relative;
  width: 100%;
  height: 250px;
  background-image: url('/img/header2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.water-drop-container {
  position: absolute;
  top: 30%;
  left: 49%;
  transform: translate(-50%, -50%);
  width: 41px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.water-drop {
  position: absolute;
  width: 41px;
  height: 60px;
}

.text-drop {
  position: relative;
  color: white;
  top: 20%;
  font-weight: bold;
  font-size: 1.2rem;
  z-index: 2;
  pointer-events: none;
}

.header-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
}
