/* Results.module.css */ .results { width: 85%; margin: 19px 30px; } .statsContainer { display: flex; justify-content: space-between; align-items: stretch; margin: 20px 0; gap: 17px; } .statItem { display: flex; flex-direction: column; border-radius: 15px; min-height: 140px; padding: 20px; box-sizing: border-box; position: relative; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); } .countAnswer { width: 36%; background-color: #65B953; } .completion_percentage { width: 36%; background-color: #EEDD59; } .status { width: 24%; background-color: #A763EB; display: flex; flex-direction: column; justify-content: space-between; } .statItem h3 { margin: 0 0 0 0; color: #FFFFFF; font-size: 20px; font-weight: 600; line-height: 1.2; } .result { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; } .statItem p { padding: 20px; font-weight: 600; font-size: 40px; color: #FFFFFF; margin: 0; line-height: 1; } .countAnswer p, .completion_percentage p { margin-bottom: -10px; font-size: 35px; } .imgGroup, .imgSend { width: 43px; align-self: flex-end; } .status p { text-align: center; margin-top: auto; font-size: 26px; } .questionContainer { display: flex; flex-direction: column; margin-bottom: 40px; padding: 25px; background: white; border-radius: 12px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); } .questionContent { display: flex; flex-direction: row; gap: 40px; align-items: flex-start; width: 100%; } .textContainer { display: flex; flex-direction: column; gap: 5px; width: 30%; min-width: 250px; } .questionContainer h3 { font-size: 20px; font-weight: 600; color: #000000; margin: 0; } .answerCount { color: #000000; font-size: 16px; font-weight: 600; } .chartContainer { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; } .pieContainer { width: 70%; position: relative; } .barContainer { width: 100%; display: flex; justify-content: center; align-items: center; padding-right: 150px; } .exportButtonContainer { padding: 10px 15px; background-color: #3788D6; color: white; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; display: block; margin: 30px auto 15px; } .exportButtonContainer:hover { background-color: rgb(14, 122, 221); } .info{ margin-top: 60px; text-align: center; } .exportButtonWrapper { position: relative; display: inline-block; width: 100%; text-align: center; } .exportPopup { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); background-color: rgba(255, 255, 255, 0.9); color: #333; padding: 4px 8px; border-radius: 3px; font-size: 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); white-space: nowrap; animation: fadeInOut 2s ease-in-out; z-index: 10; } @keyframes fadeInOut { 0% { opacity: 0; transform: translateX(-50%) translateY(5px); } 20% { opacity: 1; transform: translateX(-50%) translateY(0); } 80% { opacity: 1; transform: translateX(-50%) translateY(0); } 100% { opacity: 0; transform: translateX(-50%) translateY(5px); } }