* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1330px;
  min-width: 1240px;
  margin: 25px auto;
  position: relative;
  color: #333;
}

.container *{
  box-sizing: border-box;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

header .greeting {
    font-size: 1.5em;
    opacity: 0.9;
}

.countdown-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.work-end {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.work-end h2 {
    font-size: 1.8em;
    color: #555;
}

#work-end-time {
    color: #e74c3c;
    font-weight: bold;
}

.edit-time {
    cursor: pointer;
    padding: 8px 20px;
    background: #3498db;
    color: white;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.edit-time:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.countdown-title {
    font-size: 1.4em;
    color: #555;
    margin-bottom: 20px;
}

.countdown-title span {
    color: #e74c3c;
    font-weight: bold;
}

.countdown-clock {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-value {
    font-size: 4em;
    font-weight: bold;
    color: #3498db;
    line-height: 1;
}

.time-label {
    font-size: 1.2em;
    color: #777;
    margin-top: 10px;
}

.current-time {
    color: #888;
    font-size: 1.1em;
}

.inspirational-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.inspiration {
    font-size: 1.3em;
    color: #666;
    font-style: italic;
}

.date-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.date-section h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6em;
    color: #555;
}

#current-date,
#weekday {
    color: #3498db;
    font-weight: bold;
}

.holiday-countdowns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.holiday-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid #3498db;
}

.holiday-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.holiday-item span {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 5px;
}

.motivation-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.motivation-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.4em;
    color: #555;
}

.goal-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.goal-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.goal-item:hover {
    background: #e9ecef;
}

.goal-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.goal-item label {
    font-size: 1.1em;
    cursor: pointer;
    flex: 1;
}

.footer {
	box-sizing: border-box;
	width: 100%;
    background: #333;
    color: white;
	min-width: 1240px;
    padding: 30px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.feature {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #3498db;
}

.intro {
    font-size: 1.1em;
    margin-bottom: 15px;
    opacity: 0.9;
}

.copyright {
    font-size: 0.9em;
    opacity: 0.7;
}

.time-editor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.editor-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.editor-content h3 {
    margin-bottom: 30px;
    font-size: 1.5em;
    color: #555;
}

.time-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.time-inputs input {
    width: 80px;
    height: 50px;
    font-size: 1.5em;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.time-inputs input:focus {
    border-color: #3498db;
}

.time-inputs span {
    font-size: 1.5em;
    color: #555;
}

.editor-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.editor-buttons button {
    padding: 12px 30px;
    font-size: 1.1em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.editor-buttons button:first-child {
    background: #3498db;
    color: white;
}

.editor-buttons button:first-child:hover {
    background: #2980b9;
}

.editor-buttons button:last-child {
    background: #95a5a6;
    color: white;
}

.editor-buttons button:last-child:hover {
    background: #7f8c8d;
}

.notice {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.notice.show {
    bottom: 30px;
}

.notice-content {
    font-size: 1.1em;
}