body {
  font-family: Arial, sans-serif;
  background: black;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
}

input, textarea, select, button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 8px;
  box-sizing: border-box;
  font-size: 16px;
}

button {
  cursor: pointer;
}
button:hover{
  background-color: #003366;
  color: white;
}

.resume {
  margin-top: 30px;
  padding: 20px;
  border: 2px solid #ccc;
  border-radius: 10px;
  color: #000;
}

.resume.hidden { display: none; }

/* Themes */
.resume.light {
  background: #fff;
  color: #000;
  border-color: #ccc;
}

.resume.dark {
  background: #222;
  color: #fff;
  border-color: #555;
}

.resume.blue {
  background: #e0f0ff;
  color: #003366;
  border-color: #99ccff;
}

/* Layout toggles */
.resume-layout {
  display: flex;
  gap: 20px;
}

.resume.two-column .left-column,
.resume.two-column .right-column {
  width: 50%;
}

.resume.one-column .left-column,
.resume.one-column .right-column {
  width: 100%;
  margin-bottom: 20px;
}

.left-column, .right-column {
  min-height: 200px;
}

/* Profile photo */
#p_photo {
  max-width: 140px;
  max-height: 140px;
  display: block;
  margin: 0 auto 20px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #666;
}

/* Name */
.resume h1 {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 30px;
}

/* Section styling */
.resume-section {
  border: 1px solid #999;
  border-radius: 6px;
  padding: 12px 15px;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.9);
  cursor: grab;
  user-select: none;
}

.resume.dark .resume-section {
  background: rgba(0,0,0,0.6);
  border-color: #888;
  cursor: grab;
}

.resume-section h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 20px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

/* Lists */
.resume-section ul {
  padding-left: 20px;
  margin: 0;
}

/* Language bars */
.language-bar {
  background: #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
}

.language-bar span {
  display: block;
  padding-left: 10px;
  line-height: 20px;
  color: white;
  height: 20px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 700px) {
  .resume-layout {
    flex-direction: column;
  }
  .resume.two-column .left-column,
  .resume.two-column .right-column {
    width: 100%;
  }
}

@media print {
  body * {
    visibility: hidden;
  }

  #resumePreview, #resumePreview * {
    visibility: visible;
  }

  #resumePreview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .button-group {
    display: none !important;
  }
}
