@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Roboto+Mono:wght@700&display=swap');

/* Zerando padrões e definindo cores */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Isso ajuda a calcular o tamanho dos elementos sem erro */
}

body {
    background-color: #121214; /* Cinza bem escuro quase preto */
    color: #E1E1E6;           /* Branco acinzentado suave */
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
    text-align: center;
}

.title {
    font-family: 'Inter', sans-serif;
    font-size: 3.2rem;       /* Diminuímos um pouco para caber no retângulo */
    letter-spacing: 0.5rem;
    color: #a3a3b6;          /* Usei o verde do Play para destacar */
    
    /* Alinhamento */
    display: inline-block;     /* Faz o retângulo envolver apenas o texto */
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.timer {
    display: flex;             /* Alinha inputs e dois pontos lado a lado */
    align-items: center;       /* Centraliza verticalmente */
    justify-content: center;   /* Centraliza horizontalmente */
    font-family: 'Roboto Mono', monospace; 
    font-size: 8rem;           /* Tamanho para os dois pontos */
    font-weight: 700;
    color: #04D361;            /* Deixa os dois pontos verdes como no seu print */
}

.timer input {
    background: transparent;
    color: inherit;            /* Herda o verde da div .timer */
    border: none;
    font-family: inherit;      /* Herda a Roboto Mono */
    font-size: 1em;            /* "1em" significa: use o mesmo tamanho do pai (8rem) */
    width: 160px;              /* Ajuste se o número ficar apertado */
    text-align: center;
    outline: none;
}

/* Um detalhe extra: quando você clicar para editar, o número brilha levemente */
.timer input:focus {
    color: #04D361; /* Cor verde do Play ao editar */
}

/* Remove as setinhas padrão do navegador para ficar mais limpo */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.controls {
    display: flex;
    gap: 1.5rem; /* Espaço entre os botões */
    justify-content: center;
    margin-top: 2rem;
}

button {
    width: 120px;
    height: 48px;
    
    border: none;
    border-radius: 6px; /* Cantos arredondados suaves do Figma */
    
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    
    transition: all 0.2s ease-in-out;
}

/* Efeito de "apertar" o botão quando clicado */
button:active {
    transform: scale(0.95);
}
button:hover {
    filter: brightness(1.2); /* Deixa o botão mais brilhante ao passar o mouse */
}

/* Botão PLAY (Verde) */
.btn-start {
    background-color: #04D361;
    color: #013220; /* Texto verde bem escuro para contraste */
}

.btn-start:hover {
    background-color: #02b852;
}

/* Botão PAUSE (Vermelho) */
.btn-pause {
    background-color: #E83F5B;
    color: #FFFFFF;
}

.btn-pause:hover {
    background-color: #c5344b;
}

/* Botão RESET (Cinza) */
.btn-reset {
    background-color: #7C7C8A;
    color: #FFFFFF;
}

.btn-reset:hover {
    background-color: #636370;
}