/* reset correcto */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a{
  text-decoration: none;
  cursor: pointer;
}
body {
  margin: 0;
  padding: 0;
  font-family:system-ui, -apple-system, 'Segoe UI', Roboto;

  background-color: #202124;

}
header {
  width: 100%;
  height:60px;
}
header nav{
  display: flex;
  justify-content: flex-end;
}
header nav .nav-right-section{
  width: 250;
  height: auto;
  display: flex;
  list-style: none;
  justify-content: center;
  align-items: center;
}

nav .nav-right-section a{
  margin-right: 10px;
  color: #000000;
}

nav .nav-right-section .menu-icon{
  background-image: url('https://static.thenounproject.com/png/756729-200.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 25px;
  height: 25px;
}

nav .nav-right-section img{
  border-radius: 50%;
  margin-left: 10px;
}

main {
  margin-top: 5px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px; /* controla espacio vertical entre secciones */
  /* #background-color:darkslategrey; */
}

/* reducir los margin-bottom de las secciones */
main .main-logo {
  width: 530px;
  margin: 0 auto;
  margin-button: 35px;
}

main .main-logo img{
  width: 300px;
}

main .main-texto{
  width: 530px;
  margin: 0 auto;
  margin-bottom: 30px;
}

main .main-texto-ayuda{
  font-size: 13px;
}

main .main-texto-original{
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 8px;
}

main .main-texto-original-textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dfe1e5;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #202124;
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 10px 15px;
}

main .main-texto-original-textarea:hover{
  box-shadow: 0 1px 6px 0 #20212447;
  border-color: #dfe1e500;
  background-color: #dfe1e5;
  color: rgba(33, 33, 33, 1);
}

main .main-texto-original-textarea textarea{
  width: 100%;
  height: 100px;
  border: none;
  outline: none;
  font-size: 13px;
  color: #e8eaed;
  background-color: transparent;
  resize: none;
}

main .main-texto-original-textarea:hover textarea{
  color: rgba(33, 33, 33, 1);
}

/* SVN Update Output */
main .main-texto-svnupdate{
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 8px;
}

main .main-texto-svnupdate-textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dfe1e5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #202124;
  padding: 12px 15px;
  gap: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

main .main-texto-svnupdate-textarea:hover{
  box-shadow: 0 1px 6px 0 #20212447;
  border-color: #dfe1e500;
  background-color: #dfe1e5;
}

main .main-texto-svnupdate-textarea textarea{
  flex: 1;
  width: auto;
  height: 100px;
  border: none;
  outline: none;
  cursor: copy;
  font-size: 13px;
  color: #e8eaed;
  background-color: transparent;
  font-family: 'Courier New', monospace;
  resize: none;
}

main .main-texto-svnupdate-textarea:hover textarea{
  color: rgba(33, 33, 33, 1);
}

/* Chown Output */
main .main-texto-chown{
  width: 95%;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 8px;
}

main .main-texto-chown-textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dfe1e5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #202124;
  padding: 12px 15px;
  gap: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

main .main-texto-chown-textarea:hover{
  box-shadow: 0 1px 6px 0 #20212447;
  border-color: #dfe1e500;
  background-color: #dfe1e5;
}

main .main-texto-chown-textarea textarea{
  flex: 1;
  width: auto;
  height: 50px;
  border: none;
  outline: none;
  cursor: copy;
  font-size: 13px;
  color: #e8eaed;
  background-color: transparent;
  font-family: 'Courier New', monospace;
  resize: none;
}

main .main-texto-chown-textarea:hover textarea{
  color: rgba(33, 33, 33, 1);
}

/* Version Input - Increased font size and centered */
main .main-version{
  width: 95%;
  max-width: 280px;
  margin: 0 auto;
  margin-bottom: 12px;
}

main .main-input-version{
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dfe1e5;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #202124;
  transition: all 0.3s ease;
  overflow: hidden;
  padding: 4px 15px;
}

main .main-input-version:hover{
  box-shadow: 0 1px 6px 0 #20212447;
  border-color: #dfe1e500;
  background-color: #dfe1e5;
  color: rgba(33, 33, 33, 1);
}

main .main-version input {
  width: 100%;
  height: auto;
  line-height: 1;
  border: none;
  outline: none;
  text-align: center;
  font-family: 'Courier New', monospace;
  cursor: progress;
  font-size: 16px;
  font-weight: 500;
  color: #e8eaed;
  background-color: transparent;
}

main .main-input-version:hover input{
  color: rgba(33, 33, 33, 1);
}

/* Button Styles - Modern Minimalist */
.btn-action {
  padding: 8px 12px;
  border: 1px solid #dfe1e5;
  border-radius: 20px;
  background-color: #202124;
  color: #e8eaed;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.btn-action:hover {
  background-color: #dfe1e5;
  color: rgba(33, 33, 33, 1);
  border-color: #dfe1e5;
  box-shadow: 0 1px 6px 0 #20212447;
}

.btn-action:active {
  transform: scale(0.98);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-copy {
  padding: 6px 10px;
  font-size: 14px;
}

.btn-primary {
  margin: 12px 6px;
}

.btn-secondary {
  margin: 12px 6px;
  background-color: transparent;
  border: 1px solid #888;
  font-size: 12px;
}

.btn-secondary:hover {
  background-color: transparent;
  color: #dfe1e5;
  border-color: #dfe1e5;
  box-shadow: none;
}

.btn-generate {
  margin: 8px 4px;
}

/* Action Buttons Section - Combined with secondary */
main .main-action-buttons {
  width: 95%;
  max-width: 680px;
  margin: 8px auto 12px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Secondary Action Buttons - Integrated into main-action-buttons */
main .main-action-buttons-secondary {
  width: 95%;
  max-width: 680px;
  margin: 0 auto;
  text-align: right;
  display: flex;
  justify-content: flex-end;
}

.btn-toggle-more {
  padding: 6px 12px;
  border: 1px solid #666;
  border-radius: 6px;
  background-color: transparent;
  color: #aaa;
  font-size: 11px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-toggle-more:hover {
  color: #dfe1e5;
  border-color: #888;
}

.btn-toggle-more:active {
  transform: scale(0.97);
}

/* More Section (Expandable) */
.more-section {
  width: 95%;
  max-width: 1400px;
  margin: 12px auto 0 auto;
  padding: 16px;
  border: 1px dashed #dfe1e5;
  border-radius: 12px;
  background-color: rgba(32, 33, 36, 0.5);
  transition: all 0.3s ease;
}

.more-section.hidden {
  display: none !important;
}

/* Combined Command */
main .main-texto-combined {
  width: 100%;
  margin-bottom: 20px;
  box-sizing: border-box;
}

main .main-texto-combined label {
  display: block;
  font-size: 12px;
  color: #dfe1e5;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

main .main-texto-combined-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid #dfe1e5;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #202124;
  padding: 12px 15px;
  gap: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

main .main-texto-combined-textarea:hover {
  box-shadow: 0 1px 6px 0 #20212447;
  border-color: #dfe1e500;
  background-color: #dfe1e5;
}

main .main-texto-combined-textarea textarea {
  flex: 1;
  width: auto;
  height: 80px;
  border: none;
  outline: none;
  font-size: 13px;
  color: #e8eaed;
  background-color: transparent;
  font-family: 'Courier New', monospace;
  resize: none;
}

main .main-texto-combined-textarea:hover textarea {
  color: rgba(33, 33, 33, 1);
}

/* Password Generator */
main .main-password-generator {
  width: 100%;
  box-sizing: border-box;
}

main .main-password-generator label {
  display: block;
  font-size: 12px;
  color: #dfe1e5;
  margin-bottom: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.password-input-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#generatedPassword {
  flex: 1;
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid #dfe1e5;
  border-radius: 20px;
  background-color: #202124;
  color: #e8eaed;
  font-size: 13px;
  font-family: 'Courier New', monospace;
  outline: none;
  transition: all 0.3s ease;
}

#generatedPassword:hover {
  background-color: #dfe1e5;
  color: rgba(33, 33, 33, 1);
  border-color: #dfe1e5;
}



main .main-buttons{
  width: 530px;
  margin: 0 auto;
}

main .main-submit input:hover{
  border: 1px solid #c6c6c6;
  box-shadow: 0 1px 1px #000001;
  color: #222;
}

footer{
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  font-size: 13px;
  background-color: #f2f2f2;
  border-top: 1px solid #e4e4e4;
}

footer ul{
  margin: 10px;
  list-style: none;
  display: flex;
  padding-left: 0;
}

footer .footer-left{
  justify-self: left;
}

footer .footer-right{
  justify-self: right;
}

footer ul li a{
  margin: 10px;
  color: #5f6368;
}
