.container {
    max-width: 1200px;   /* from first */
    margin: 20px auto;
    padding:15px;
    background: rgba(255,255,255,0.97);
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    text-align: center;  /* from second */
}
.container2 {
    max-width: 1200px;   /* from first */
    margin: 10px auto;
    padding:5px;
    background: rgba(255,255,255,0.97);
    border-radius: 10px;
    text-align: center;  /* from second */
}
h2, h3 {
    text-align: center;
}
.convert-section, .rates-section {
    margin-top: 35px;
}
input, select, button {
    padding: 10px;
    margin: 5px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}
select {
    min-width: 180px;
}
#result {
    margin-top: 20px;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin-top: 25px;
}
th, td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
    vertical-align: middle;
}
th {
    background: skyblue;
}
tbody tr:hover {
    background-color: #f1f1f1;
}
.currency-icon {
    width: 60px;
    height: 40px;
    vertical-align: middle;
    margin-left: 5px;
}
input[type="file"], input[type="text"] {
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    width: 80%;
}
.action-buttons {
    margin-bottom: 20px;
}
.action-btn {
    padding: 15px 25px;
    font-size: 20px;
    margin: 5px;
    border-radius: 10px;
    border: none;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.action-btn:hover, .action-btn.active {
    background-color: #45a049;
}
.big-btn {
    padding: 15px 30px;
    font-size: 18px;
    margin: 10px 5px;
    border-radius: 10px;
    border: none;
    background-color: #ff7f50;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.big-btn:hover {
    background-color: #ff6333;
}
.download-btn {
    display: inline-block;
    text-decoration: none;
}
/* Container for horizontal blocks */
.home-blocks {
  display: flex;          
  gap: 20px;              
  justify-content: center; 
  padding: 20px;          
  flex-wrap: wrap;        
}
.home-blocks .block {
  background-color: #ffffff;  
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  border-radius: 10px;        
  padding: 20px;              
  flex: 1 1 300px;            
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-blocks .block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}
.home-blocks-gold .block2 {
  background-color: #FFD700;  
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
  border-radius: 10px;        
  padding: 20px;              
  flex: 1 1 300px;            
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.progress {
    width: 100%;
    height: 20px;
    margin: 10px 0;
}
.video-container {
    margin: 20px 0;
}
video {
    max-width: 100%;
}
.settings {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
}
input[type="number"] {
    width: 80px;
    padding: 5px;
}
#downloadBtn {
    display: none; 
    background-color: #2ecc71;
}
#downloadBtn:hover {
    background-color: #27ae60;
}
.preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}
.preview-container img {
    max-width: 150px;
    max-height: 150px;
    border: 1px solid #ddd;
}
#status {
    min-height: 24px;
    margin: 10px 0;
    padding: 5px;
    border-radius: 4px;
}

/* ------------------- Duplicates moved here ------------------- */
button {
    background-color: blue;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin: 5px;
      cursor: pointer;
    transition: 0.3s;
}
button:hover {
    background-color: #2980b9;
    transition: 0.3s;
}
button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
}
.hidden {
    display: none;
}
